Skip to main content


class ZENApp.Chart extends ZENApp.TemplatePage

ZENApp.Chart This is page displays chart data for the Help Desk sample application. Note that this page extends the ZENApp.TemplatePage class; this is a template that provides a standardized look & feel for the application.

Property Inventory

Method Inventory


parameter APPLICATION = ZENApp.SampleApp;
Class name of application this page belongs to.
parameter DOMAIN = ZENAPP;
Domain used for localization.
parameter PAGENAME = Chart;
Displayed name of this page.


property monthList as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec") ];
Localized list of months to use for chart labels.
Property methods: monthListDisplayToLogical(), monthListGet(), monthListIsValid(), monthListLogicalToDisplay(), monthListLogicalToOdbc(), monthListNormalize(), monthListSet()


classmethod %OnBeforeCreatePage() as %Status
This class method callback is called just before the server-side page object is created.
method DrawMessage(pSeed As %String) as %Status
Draw the HTML that will be displayed within the MessageBox
classmethod calculateChartData(pPriority As %String = "") as %String [ ZenMethod ]
Server-side method to calculate new chart data Returns a ":" delimited list of values.
clientmethod getChartData(series) [ Language = javascript ]
Callback to provide data for chart.
clientmethod getChartLabelX(val) [ Language = javascript ]
Callback to provide labels for chart.
clientmethod msgTimer(timer) [ Language = javascript ]
MessageBox timer has fired.
clientmethod setChartCategory(cat) [ Language = javascript ]
Update chart to display data for given category.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab