Home > Class Reference > ENSLIB namespace > CSPX.EnsGraphPane

CSPX.EnsGraphPane

class CSPX.EnsGraphPane extends %CSP.Util.Pane

An AutoPage pane that displays an SVG graph.

Property Inventory

Method Inventory

Parameters

parameter DOMAIN = Ensemble;
Use our own domain for localization
parameter RefreshRate = 7000;

Properties

property AutoRefresh as %Boolean [ InitialExpression = 0 ];
If true, then this table is automatically updated.
Property methods: AutoRefreshDisplayToLogical(), AutoRefreshGet(), AutoRefreshIsValid(), AutoRefreshLogicalToDisplay(), AutoRefreshLogicalToXSD(), AutoRefreshNormalize(), AutoRefreshSet(), AutoRefreshXSDToLogical()

Methods

method DrawBODY(pInstance As %CSP.Util.PageInstance) as %Status [ Language = objectscript ]
Draw the BODY of the detail pane
method DrawHEAD(pInstance As %CSP.Util.PageInstance) as %Status [ Language = objectscript ]
Inherited description: Overwritten by subclasses to draw anything this pane needs for the HEAD section.
classmethod GetGraphData(pHost As %String, pHours As %Integer, ByRef pMaxVal As %Integer) as %String [ Language = objectscript ]
Returns a string of JavaScript that contains graph values for host.
method OnGenerateCode() as %String [ Language = objectscript ]
Inherited description: Subclasses override this to generate code during CSP processing
classmethod RefreshGraph(pAuto As %Boolean, pHost As %String, pTimeWin As %Integer = 1, pyMinVal As %Integer = 0, pyMaxVal As %Integer = 200) [ Language = objectscript ]
Called from client to refresh the graph pTimeWin is the time scale for the graph (and is limited to a set of values)

Inherited Members

Inherited Properties

Inherited Methods