InterSystems IRIS Data Platform 2020.4Opens in a new window > Class Reference > %SYS namespace > %ZEN.SVGComponent.textMeter


class %ZEN.SVGComponent.textMeter extends %ZEN.SVGComponent.meter

SVG text meter.
This meter displays a value as text within a rectangular region.
This control looks best when its height is one quarter of its width.

Property Inventory (Including Private)

Method Inventory (Including Private)


Override viewBoxHeight for this component.
Override viewBoxWidth for this component.

Properties (Including Private)

property backgroundStyle as %ZEN.Datatype.svgStyle;
Additional style applied to the background of this meter.
Property methods: backgroundStyleDisplayToLogical(), backgroundStyleGet(), backgroundStyleIsValid(), backgroundStyleLogicalToDisplay(), backgroundStyleLogicalToOdbc(), backgroundStyleNormalize(), backgroundStyleSet()
property format as %ZEN.Datatype.string;
Numeric format string to apply to the value.
Property methods: formatDisplayToLogical(), formatGet(), formatIsValid(), formatLogicalToDisplay(), formatLogicalToOdbc(), formatNormalize(), formatSet()
property highStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: #404080;" ];
Style applied to text when the meter value is above the high threshold.
Property methods: highStyleDisplayToLogical(), highStyleGet(), highStyleIsValid(), highStyleLogicalToDisplay(), highStyleLogicalToOdbc(), highStyleNormalize(), highStyleSet()
property lowStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: #804040;" ];
Style applied to text when the meter value is below the low threshold.
Property methods: lowStyleDisplayToLogical(), lowStyleGet(), lowStyleIsValid(), lowStyleLogicalToDisplay(), lowStyleLogicalToOdbc(), lowStyleNormalize(), lowStyleSet()
property normalStyle as %ZEN.Datatype.svgStyle [ InitialExpression = "fill: #404040;" ];
Style applied to text when the meter value is between the high and low threshold values.
Property methods: normalStyleDisplayToLogical(), normalStyleGet(), normalStyleIsValid(), normalStyleLogicalToDisplay(), normalStyleLogicalToOdbc(), normalStyleNormalize(), normalStyleSet()

Methods (Including Private)

clientmethod renderMeter() [ Language = javascript ]
Render the inner SVG contents of this component.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window