Skip to content

Instantly share code, notes, and snippets.

@evshvarov
evshvarov / index.html
Created Jan 15, 2018
Report Layout template
View index.html
<div class="report">
<div><iframe style="border: none" src="https://analytics.community.intersystems.com/dsw/index.html#!/d/Reports/MemberBase.dashboard#%2F%3Fns=COMMUNITY?widget=2&height=541" width="651" height="541" ></iframe></div>
<div>2</div>
<div><iframe style="border: none" src="http://localhost:57772/dsw/index.html#!/d/Reports/MemberBase.dashboard?ns=CA1&widget=2&height=385" width="551" height="385" ><iframe></div>
</div>
@evshvarov
evshvarov / samples.json
Created Nov 10, 2017
Example of DSW config settings for SAMPLES namespace
View samples.json
{"ns":{"widgets":{"Basic Dashboard Demo.dashboard":{"":{"showValues":true,"showZero":true,"isTop":true,"isLegend":false,"row":5},"Виджет3":{"sizeX":3,"row":10},"emptyWidget":{"row":0,"col":0,"sizeY":2},"Widget1":{"sizeY":2,"sizeX":10,"row":0,"col":2,"isLegend":true,"series":{},"isTop":false,"showValues":false},"Widget2":{"sizeX":10,"sizeY":2,"row":2,"col":2,"isLegend":false,"showValues":true}},"HoleFoods Compound Cube.dashboard":{"":{"sizeX":11,"sizeY":1,"row":0},"emptyWidget":{"col":0,"row":2,"sizeY":1}},"Drill Options.dashboard":{"Widget2":{"isLegend":true,"showValues":true,"row":0,"sizeY":3,"sizeX":6,"isTop":false},"Widget1":{"row":0,"sizeX":6,"col":6,"sizeY":2}},"Widget Examples/All Charts.dashboard":{"widget3":{"series":{},"sizeX":3,"sizeY":1},"widget11":{"isTop":false},"widget2":{"isTop":false}},"Data Driven Colors.dashboard":{"emptyWidget":{"sizeY":1,"col":0,"sizeX":12,"viewSize":33.33333},"Widget1":{"row":1,"sizeX":6,"sizeY":2,"showValues":true},"Widget2":{"row":1,"col":6,"sizeY":2,"sizeX":6}},"Listin
@evshvarov
evshvarov / test.ForEach.cls
Created Aug 18, 2015
ForEach case in Caché Object Script
View test.ForEach.cls
/// Класс-итератор для коллекций.
Class test.ForEach Extends %RegisteredObject [ Final ]
{
/// Коллекция-список <s>почти</s> любого типа.
Property collection As %Collection.AbstractList [ Internal, Private, ReadOnly, Transient ];
/// Инициализация свойства <property>collection</property>.
/// <br><br> Допустимые аргументы <var>val</var>:
/// <br> <li>объект класса-наследника от %Collection.AbstractList;
View StudioRoutines.xml
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25" zv="Cache for UNIX (SUSE Linux Enterprise Server for x86-64) 2014.1 (Build 608U)" ts="2014-05-19 00:22:31">
<Class name="%CJS.RoutineWizard">
<Description><![CDATA[
Studio Template:<br>
Create a new Cache JavaScript Routine.]]></Description>
<StorageStrategy/>
<Super>%ZEN.Template.studioTemplate</Super>
<TimeChanged>63325,86382.045933</TimeChanged>
<TimeCreated>63325,65834.566957</TimeCreated>