Skip to main content

%DeepSee.UI.Dialog.ChartOptions

Class %DeepSee.UI.Dialog.ChartOptions Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]

This dialog lets the user change the properties of a DeepSee chart.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 1;

Properties

chartType

Property chartType As %ZEN.Datatype.string(ZENURL = "TYPE");

Current selected chart type.

gridLineType

Property gridLineType As %ZEN.Datatype.string(ZENURL = "GRID");

Current selected grid line type.

textSize

Property textSize As %ZEN.Datatype.string(ZENURL = "TEXTSIZE");

Current selected text size.

chartTitle

Property chartTitle As %ZEN.Datatype.string(ZENURL = "TITLE");

Chart title.

minValue

Property minValue As %ZEN.Datatype.float(ZENURL = "MIN");

Minimum axis value.

maxValue

Property maxValue As %ZEN.Datatype.float(ZENURL = "MAX");

Maximum axis value.

XDatas

Style

XData Style

dialogBody

XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]

Contents of the dialog body.

Methods

DrawIcons

Method DrawIcons(pSeed As %String) As %Status

Draw contents of chart icon box.

DrawGridLines

Method DrawGridLines(pSeed As %String) As %Status

Draw contents of grid line icon box.

DrawTextSize

Method DrawTextSize(pSeed As %String) As %Status

Draw contents of text size box.

%OnPreHTTP

ClassMethod %OnPreHTTP() As %Boolean [ Internal, ServerOnly = 1 ]

Zen page notification of an HTTP request.

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the dialog. This should be implemented in a subclass.

%OnGetSubtitle

Method %OnGetSubtitle() As %String

Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

This callback, if defined, is called when the dialog page is loaded.

ondialogFinish

ClientMethod ondialogFinish(action) As %Boolean [ Language = javascript ]

This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

selectChartType

ClientMethod selectChartType(type) [ Language = javascript ]

Click on a new chart type.

selectGridLineType

ClientMethod selectGridLineType(type) [ Language = javascript ]

Click on a new grid line type.

selectTextSize

ClientMethod selectTextSize(size) [ Language = javascript ]

Click on a new text size.