Skip to main content

%DeepSee.UI.Dialog.Analyzer

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

Special version of the analyzer that runs within a dialog. This is displayed when a user uses the Analyze option in a widget.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 1;

DEFAULTVIEWMODE

Parameter DEFAULTVIEWMODE = "pivot";

If this page has multiple views, this is its initial display mode.

Properties

currViewMode

Property currViewMode As %ZEN.Datatype.string [ InitialExpression = {..#DEFAULTVIEWMODE} ];

If this page has "views", this is the current view type.

cubeName

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

Name of cube to explore.

widgetKey

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

Key (within its dashboard) of widget that launched this dialog.

pivotName

Property pivotName As %ZEN.Datatype.string(ZENURL = "PIVOT");

Name of saved pivotTable to view (overrides CUBE if present).

localPivotName

Property localPivotName As %ZEN.Datatype.string(ZENURL = "LOCALNAME");

If provided, use this name to save the pivot.

filterState

Property filterState As %ZEN.Datatype.string(MAXLEN = 5000, ZENURL = "FILTERSTATE");

If provided, state of filters on widget that launched this dialog.

pivotDescription

Property pivotDescription As %ZEN.Datatype.string;

Description of the saved pivot (if any).

pivotKeywords

Property pivotKeywords As %ZEN.Datatype.string;

Keywords of the saved pivot (if any).

resetData

Property resetData As %ZEN.Datatype.boolean [ InitialExpression = 0 ];

If true, reset the data source when the dialog is applied.

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.

GetDimensionInfo

ClassMethod GetDimensionInfo(pRoot As %String, Output pTree, ByRef pParms) As %Status

Provide contents of the dimension tree.

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.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

treeDoubleClick

ClientMethod treeDoubleClick(tree) [ Language = javascript ]

User has double-clicked on an element in the tree control. This is copied from the same method in the main Analyzer page.

getPivot

ClientMethod getPivot() [ Language = javascript ]

Return the current pivot table.

adjustSize

ClientMethod adjustSize() [ Language = javascript ]

Adjust sizes of analyzer components on the page.

SavePivotTable

Method SavePivotTable(pResetData As %Boolean = 0) As %String [ ZenMethod ]

Save the pivot table.

showFormatOptions

ClientMethod showFormatOptions() [ Language = javascript ]

Launch the cell format options dialog.

UpdateFilterControls

ClassMethod UpdateFilterControls(pCubeName As %String, pGroup As %ZEN.Component.group, pPivotTable As %DeepSee.Component.pivotTable) As %String [ ZenMethod ]

Called from client to update list of filters.

filterChangeHandler

ClientMethod filterChangeHandler(ctrl, filterNo) [ Language = javascript ]

User has changed a filter control value.

showQuery

ClientMethod showQuery() [ Language = javascript ]

Launch the show query dialog.

showPivotOptions

ClientMethod showPivotOptions() [ Language = javascript ]

Launch the pivot options dialog.

onPopupAction

ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]

This client event is fired when the a popup page launched from this page fires an action.

filterDropDown

ClientMethod filterDropDown(ctrl) [ Language = javascript ]

Drop down is about to appear for filter control.

resetLocalDataSource

ClientMethod resetLocalDataSource() [ Language = javascript ]

Reset the local data source for our widget.

CreateQueryNonce

ClassMethod CreateQueryNonce(pQuery As %String) As %String [ Internal, ZenMethod ]

Generate a nonce for an MDX query.