This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > CSPX.Dashboard.Odometer

CSPX.Dashboard.Odometer

class CSPX.Dashboard.Odometer extends CSPX.Dashboard.Meter

SVG-based Odometer for Ensemble Dashboard.

Method Inventory

Parameters

parameter HEIGHT = 25;
Inherited description: Default height, in logical units, of this meter.
parameter MINHEIGHT = 25;
Inherited description: Minimum height, in logical units, of this meter.
parameter MINWIDTH = 50;
Inherited description: Minimum width, in logical units, of this meter.
parameter WIDTH = 75;
Inherited description: Default width, in logical units, of this meter.

Methods

classmethod DrawOdometer(id As %Integer, pClass As %String, pCenterX As %Integer, pTop As %Integer, pDigits As %Integer = 6)
Utility method for drawing odometer box. This is called by other meters as well. pClass is name of meter using the odometer pCenterX is x (center) placement of odometer pTop is y (top) placement of odometer pDigits is number of digits within the odometer
method OnSVGBody()
Draw the body of this SVG meter
classmethod OnSVGDefs()
Draw the defs section of this SVG meter
classmethod OnSVGScript()
Inherited description: Draw the script section of this SVG meter
classmethod OnSVGStyle()
Inherited description: Draw the style section of this SVG meter

Inherited Members

Inherited Properties

Inherited Methods

Feedback