Skip to main content

%DeepSee.UI.Dialog.PivotBreakdown

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

This dialog displays various breakdowns of the values behind a cell within a pivot.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

cubeName

Property cubeName As %ZEN.Datatype.string(ZENURL = "CUBE");

queryKey

Property queryKey As %ZEN.Datatype.string(ZENURL = "KEY");

selectedRange

Property selectedRange As %ZEN.Datatype.string(ZENURL = "RANGE");

measureName

Property measureName As %ZEN.Datatype.string(ZENURL = "MEASURE");

Measure to use for analysis.

withClause

Property withClause As %ZEN.Datatype.string(ZENURL = "WITH");

WITH clause for query

values

Property values As list Of %ZEN.Datatype.float;

Array of values to plot.

xLabels

Property xLabels As list Of %ZEN.Datatype.string;

Array of x axis labels.

XDatas

Style

XData Style

dialogBody

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

Contents of the dialog body.

Methods

%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 ]

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.

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

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

measureChange

ClientMethod measureChange() [ Language = javascript ]

Change in measure value.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

%UpdateControls

Method %UpdateControls(pCount As %Integer, pNullCount As %Integer, pMinValue As %Double, pMaxValue As %Double, pSum As %Double)

Update value of controls.

%ComputeChartValues

Method %ComputeChartValues(pMinValue As %Double, pMaxValue As %Double)

Compute chart values.

UpdateValues

Method UpdateValues() As %String [ ZenMethod ]

Recompute chart values.

%ComputeValues

Method %ComputeValues(Output pCount As %Integer, Output pNullCount As %Integer, Output pMinValue As %Double, Output pMaxValue As %Double, Output pSum As %Double) As %Status

Execute query and get raw list of values in temp global.

adjustSize

ClientMethod adjustSize() [ Language = javascript ]

Adjust size and position of components on this page.

getChartData

ClientMethod getChartData(series) [ Language = javascript ]

Callback to provide data for the chart.

getXLabel

ClientMethod getXLabel(val) [ Language = javascript ]

Callback to provide x label for the chart.

updateMeasureSelect

ClientMethod updateMeasureSelect() [ Language = javascript ]

Update state of the measure select control