Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / CSPX.EnsGraphPane
Private  Storage   

CSPX.EnsGraphPane


class CSPX.EnsGraphPane extends
%CSP.Util.Pane

An AutoPage pane that displays an SVG graph.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 1 5


Summary


Properties
Align AutoRefresh CommandFormClass CommandFormObject
CommandSubmitPage Commands FrameStyle Name
Styles Text URL

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
DrawBODY DrawCommandForm DrawCommands DrawHEAD
GenerateCode GetGraphData LocalizeText OnGenerateCode
QuoteCOS RefreshGraph XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType


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.

Methods


• method DrawBODY(pInstance As %CSP.Util.PageInstance) as %Status
Draw the BODY of the detail pane
• method DrawHEAD(pInstance As %CSP.Util.PageInstance) as %Status
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
Returns a string of JavaScript that contains graph values for host.
• method OnGenerateCode() as %String
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)
Called from client to refresh the graph pTimeWin is the time scale for the graph (and is limited to a set of values)