Skip to main content

CSPX.Dashboard.TickerTape

class CSPX.Dashboard.TickerTape extends CSPX.Dashboard.Meter

SVG-based TickerTape meter for Dashboard.
The TickerTape displays recent values of metric property as pieces of text sliding across a ticker tape display. Individual elements are colored differently in order to visually differentiate them. Repeating values are not displayed. There is no guarantee that any specific element will be displayed; that is function of when the metric property is updated and when the dashboard refreshes itself.

Property Inventory

Method Inventory

Parameters

parameter MINHEIGHT = 25;
Minimum height, in logical units, of this meter.
parameter MINWIDTH = 10;
Minimum width, in logical units, of this meter.

Properties

property TextStyle as %String (MAXLEN = 100, XMLPROJECTION = "ATTRIBUTE");
CSS Style applied to ticker text. E.g. "fill: blue;"
Property methods: TextStyleDisplayToLogical(), TextStyleGet(), TextStyleIsValid(), TextStyleLogicalToDisplay(), TextStyleLogicalToOdbc(), TextStyleNormalize(), TextStyleSet()

Methods

method GenerateCode(pCode As %CharacterStream, pLevel As %Integer = 1) as %Status
Called by Dashboard class to generate code to create an instance of this object. The object instance is called tMeter.
method OnSVGBody()
Draw the body 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

FeedbackOpens in a new tab