Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [CSPX] >  [Dashboard] >  [Odometer]
Private  Storage   

class CSPX.Dashboard.Odometer extends Meter

SVG-based Odometer for Dashboard.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 5


Summary

Properties
DefList Description Height IsRunning Label
Level Link MeterId Method Metric
Property PropertyCount RangeLower RangeUpper ScaleFactor
ShowLabel ThresholdLower ThresholdUpper Width XPos
YPos

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
DrawOdometer GenerateCode GetDefault GetUnits
HeightSet OnSVGBody OnSVGDefs OnSVGHead
OnSVGInitJS OnSVGScript OnSVGStyle SetClientProperties
WidthSet XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Parameters

• 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.

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()
Draw the script section of this SVG meter
• classmethod OnSVGStyle()
Draw the style section of this SVG meter


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.