Home > Class Reference > ENSLIB namespace > Ens.DataType.Metric


datatype class Ens.DataType.Metric extends %Library.Float


Represents a value within a Business Metric class

Method Inventory


parameter AUTOHISTORY = 0;
For multidimensional metrics: if this is set to a non-zero value, then the Metric class will automatically maintain a history of values for this property. The author of the OnCalculate method needs only set to the current value for the metric into the top (non-subscripted) node of the property.
The number of values maintained is specified by the value of this parameter.
Specfies a default URL to provide drill down information for this metric.
This is used by the Dashboard to provide a drill down page for any meters connected to this metric.
parameter RANGELOWER = 0;
Default value for RangeLower for a metric
parameter RANGEUPPER = 100;
Default value for RangeUpper for a metric
parameter THRESHOLDLOWER = 0;
Default value for ThresholdLower for a metric
parameter THRESHOLDUPPER = 100;
Default value for ThresholdUpper for a metric
parameter UNITS;
Units used by this metric (e.g., Dollars, Percentage, etc.)
This is used solely for documentation purposes


classmethod Points() as %String [ Language = objectscript ]
Default number of points for a chart based on this property.
classmethod RangeLower() as %String [ Language = objectscript ]
classmethod RangeUpper() as %String [ Language = objectscript ]
classmethod ThresholdLower() as %String [ Language = objectscript ]
classmethod ThresholdUpper() as %String [ Language = objectscript ]
classmethod Units() as %String [ Language = objectscript ]

Inherited Members

Inherited Methods

FeedbackOpens in a new window