Skip to main content

EnsPortal.ActivityVolumeAndDuration

class EnsPortal.ActivityVolumeAndDuration extends EnsPortal.Template.standardPage

Display activity numbers and charts by last minute, last hour, last day, last month or Year.

Property Inventory

Method Inventory

Parameters

parameter PAGENAME = Activity Volume And Duration;
Displayed name of this page.
parameter RESOURCE = %Ens_Dashboard:USE;
User needs USE permissions on the %Ens_Dashboard resource to access this page.

Properties

property currentPeriod as %String [ InitialExpression = "Minute" ];
Property methods: currentPeriodDisplayToLogical(), currentPeriodGet(), currentPeriodIsValid(), currentPeriodLogicalToDisplay(), currentPeriodLogicalToOdbc(), currentPeriodNormalize(), currentPeriodSet()
property refreshRate as %Integer [ InitialExpression = 0 ];
Property methods: refreshRateDisplayToLogical(), refreshRateGet(), refreshRateIsValid(), refreshRateLogicalToDisplay(), refreshRateNormalize(), refreshRateSet(), refreshRateXSDToLogical()
property winHeight as %Integer [ InitialExpression = 750 ];
Property methods: winHeightDisplayToLogical(), winHeightGet(), winHeightIsValid(), winHeightLogicalToDisplay(), winHeightNormalize(), winHeightSet(), winHeightXSDToLogical()
property winWidth as %Integer [ InitialExpression = 1600 ];
Property methods: winWidthDisplayToLogical(), winWidthGet(), winWidthIsValid(), winWidthLogicalToDisplay(), winWidthNormalize(), winWidthSet(), winWidthXSDToLogical()

Methods

method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
method %OnGetPageName() as %String
Inherited description: Get the (localized) name of the page. This should be implemented in a subclass.
method %OnGetTitle() as %String
Inherited description: Get the (localized) title string for the page. This should be implemented in a subclass.
method OnDrawRibbon() as %Status
Inherited description: This is called in the middle of rendering the tool ribbon. Subclasses can inject their own content into the ribbon by writing it out in this method. This content is best wrapped within a single td element. It can also consist of multiple td elements.

To achieve a fixed position for elements within the ribbon, for a fixed width page you can use a single enclosing td that contains a table and a single tr, with td elements inside that single tr that contain your content for the ribbon.

To achieve a fixed position for elements within the ribbon, for a page whose width varies depending on its contents (thereby stretching the ribbon) you can use multiple td elements to contain your content and then a final td element that is empty and has width 40% (or so) to push your contents towards the left and keep them in their proper locations.

method OnGetRibbonInfo(Output pDisplay As %Library.Boolean, Output pViewIcons As %Library.List, Output pSortOptions As %Library.List, Output pSearchBox As %Library.Boolean, Output pRibbonTitle As %Library.String, Output pCommands As %Library.List) as %Status
Get information to display in the ribbon bar.
clientmethod displayChart(current) [ Language = javascript ]
Switch the chart to the one corresponding to the button clicked (Minute, Hour, Day, Week, Month or Year).
clientmethod onloadHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is loaded.
clientmethod updateType(current) [ Language = javascript ]
Update ribbon button styles, disabling 'current' and enabling all others.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab