Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [CSPX] >  [Dashboard] >  [Renderer]
Private  Storage   

class CSPX.Dashboard.Renderer extends %RegisteredObject, %XML.Adaptor

Defines a set of meters that form a Dashboard and generates the SVG framework needed to display the Dashboard.
Users should not work directly with this class.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 7 7


Summary

Properties
InstanceMenu Label Meters Metric Orientation
RefreshRate Width

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
EvalMetric GenerateCode InsertMeter ParseMetric
ProcessChartLabels ProcessGridLabels RenderSVG XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


Parameters

• parameter DOMAIN = "Ensemble";
Use our own domain for localization
• parameter XMLNAME = "Dashboard";
This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.

Properties

• property InstanceMenu as %String(MAXLEN=50,XMLPROJECTION="ATTRIBUTE");
If defined, the accompanying info pane will display a set of instances for the default Metric.
The value of this property is used as the Instance Menu caption.
• property Label as %String(MAXLEN=250,XMLPROJECTION="ATTRIBUTE");
The label displayed for the dashboard.
• property Meters as list of Meter(XMLPROJECTION="ELEMENT",XMLTYPECONSTRAINT="CHOICE");
List of meters displayed by this dashboard.
• property Metric as %String(MAXLEN=128,XMLPROJECTION="ATTRIBUTE");
Default Business Metric service (config name) for this dashboard.
• property Orientation as %String(MAXLEN=10,VALUELIST=",horizontal,vertical",XMLPROJECTION="attribute") [ InitialExpression = "horizontal" ];
Direction in which to layout meters within this dashboard.
• property RefreshRate as %Integer(MINVAL=0,XMLPROJECTION="attribute") [ InitialExpression = 10000 ];
Refresh rate, in milliseconds, for the dashboard.
• property Width as %Integer(XMLPROJECTION="attribute") [ InitialExpression = 500 ];
Desired width, in logical units, of this dashboard.

Methods

• classmethod EvalMetric(pMetric As %String, pDefaultInstance As %String = "") as %String
Evaluate a metric name and return a form suitable for the client.
• method GenerateCode(pCode As %CharacterStream) as %Status
Called by Dashboard class to generate code to create an instance of this object. The object instance is called pDashboard.
• method InsertMeter(pMeter As Meter)
Insert a meter into this dashboard
• classmethod ParseMetric(pMetric As %String, pDefaultInstance As %String, Output pMetricName As %String, Output pInstance As %String) as %Status
Pull apart a Metric value into metric name and instance name.
• method ProcessChartLabels(meter As Meter, tMetric As %String, tInstance As %String)
Special label and initial data processing for charts
• method ProcessGridLabels(meter As Meter, tMetric As %String, tInstance As %String)
Special label and initial data processing for grids
• method RenderSVG()
Render the SVG for the set of meters


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.