class CSPX.Dashboard.Group
extends Meter
Base class for Groups within an Dashboard.
parameter HEIGHT = 0;
Default height, in logical units, of this meter.
parameter MINHEIGHT = 0;
Minimum height, in logical units, of this meter.
parameter MINWIDTH = 0;
Minimum width, in logical units, of this meter.
parameter SHOWLABEL = 0;
Should this meter display the standard label
parameter WIDTH = 0;
Default width, in logical units, of this meter.
property Meters
as list of Meter(XMLNAME="Meters",XMLPROJECTION="ELEMENT",XMLTYPECONSTRAINT="CHOICE");
Meters belonging to this group
property Orientation
as %String(MAXLEN=10,VALUELIST=",horizontal,vertical",XMLPROJECTION="attribute") [ InitialExpression = "horizontal" ];
Direction in which to layout meters within this group.
method GenerateCode(pCode As %CharacterStream, pLevel As %Integer = 1)
as %Status
Called by Dashboard class to generate code to
create an instace of this object.
The object instance is called tMeter.
The generated code will be called in the context of the OnPage method of the CSPX.Dashboard.Page class.
method InsertMeter(pMeter As Meter)
Insert a meter into this group
method OnSVGBody()
Draw the body of this SVG meter
method OnSVGInitJS()
Generate JavaScript to initialize client-side
meter object
classmethod OnSVGScript()
Draw the script section of this SVG meter
classmethod OnSVGStyle()
Draw the style section of this SVG meter