class CSPX.Dashboard.Odometer
extends Meter
SVG-based Odometer for Dashboard.
parameter HEIGHT = 25;
Default height, in logical units, of this meter.
parameter MINHEIGHT = 25;
Minimum height, in logical units, of this meter.
parameter MINWIDTH = 50;
Minimum width, in logical units, of this meter.
parameter WIDTH = 75;
Default width, in logical units, of this meter.
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()
Draw the script section of this SVG meter
classmethod OnSVGStyle()
Draw the style section of this SVG meter