class %DeepSee.Component.Widget.pivot
extends %DeepSee.Component.Widget.widget
A specialized DeepSee Dashboard widget that displays a pivot table (either as a table or a chart).
property chartToggle
as %ZEN.Datatype.string(VALUELIST="table,chart,none",XMLPROJECTION="none") [ InitialExpression = "none" ];
Remember the chartToggle state.
If "none", show either a chart or a table.
If "chart", show the current chart type initially and a button to toggle.
If "table", show the table initially and a button to toggle.
property labelsVisible
as %ZEN.Datatype.boolean(XMLPROJECTION="none");
Remember if chart labels are visible.
When the widget is too small, we will hide these.
property legendPosition
as %ZEN.Datatype.string(VALUELIST="top,left,bottom,right,none",XMLPROJECTION="none");
Remember the legend position.
property pivotName
as %ZEN.Datatype.string(XMLPROJECTION="none");
Hold onto the name of the saved pivot (or KPI) that drives this widget.
property sessionCookie
as %ZEN.Datatype.string;
Current CSP session.
classmethod %GetCatalogInfo(Output pInfo As %List, Output pSubtypeList As %List)
as %Status
Return information used to list this widget within the "widget catalog".
method %GetDataController()
as %ZEN.Auxiliary.abstractController
If this widget contains a data controller, return it.
classmethod %GetWidgetPropertyInfo(pSubtype As %String, Output pInfo As %List)
as %Status
Return information on additional "properties" supported by this widget for the given subtype.
method %OnCreateControls(pGroup As %ZEN.Component.group)
as %Status
This callback is called just before controls are added to the top of the widget.
pGroup is the header in which new Zen control can be added.
method %OnCreateWidget(pGroup As %ZEN.Component.group)
as %Status
This callback is responsible for creating the contents of the widget.
method adjustContentSize(load, width, height)
[ Language = javascript ]
Called when page is loaded or widget is resized.
method cellClickHandler(pivot)
[ Language = javascript ]
Cell click handler for pivot table.
method chartClickHandler(chart)
[ Language = javascript ]
Select element handler for pivot chart.
method drillHandler(pivot)
[ Language = javascript ]
Drill state change handler for pivot table.
method exportExcel()
[ Language = javascript ]
Export current query to excel
method exportPDF()
[ Language = javascript ]
Export current query to pdf.
method getDataController()
[ Language = javascript ]
If this widget contains a data controller, return it.
method listingSelectHandler(pivot)
[ Language = javascript ]
Listing select handler for pivot table.
method resetPivot()
[ Language = javascript ]
Go back to the previous pivot state.
method showBreakdown(analysisClass)
[ Language = javascript ]
Launch the pivot analysis dialog.
method showDimensions()
[ Language = javascript ]
Perform a showDimensions action, if supported. This toggles the visibility
of the dimensions tree control
method showGeoListing(listing)
[ Language = javascript ]
Perform a showGeoListing action.
method showListing(listing)
[ Language = javascript ]
Perform a showListing action, if supported.