Skip to main content

%DeepSee.UI.Dialog.PivotAnalysis

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

This dialog displays an analysis of the selected cell(s) within a pivot table. This class is a wrapper that lets the user select one of the available options.

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");

sortColumn

Property sortColumn As %ZEN.Datatype.integer(ZENURL = "SORTCOL") [ InitialExpression = 0 ];

sortDir

Property sortDir As %ZEN.Datatype.string(ZENURL = "SORTDIR") [ InitialExpression = "ASC" ];

analysisType

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

Class name of current analysis.

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

XDatas

Style

XData Style

dialogBody

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

Contents of the dialog body.

Methods

adjustSize

ClientMethod adjustSize() [ Language = javascript ]

Adjust size and position of components on this page.

CreateAnalysisMenu

Method CreateAnalysisMenu(pMenu As %ZEN.Component.lookoutMenu) As %Status

Add elements to the analysis menu.

DrawAnalysisIcon

Method DrawAnalysisIcon(pInfo As %String) As %Status

Draw an icon box. pInfo is type^name^title^icon

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

Apply changes to page.

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

selectAnalysisType

ClientMethod selectAnalysisType(type) [ Language = javascript ]

Click on a new analysis type.

%GetAnalysisClasses

ClassMethod %GetAnalysisClasses(Output pInfo As %String) As %Status

Return an array of all available analysis types pInfo(n) = $LB(class,caption,tooltip,icon)