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 > %SYS namespace > %ZEN.SVGComponent.lightBar


class %ZEN.SVGComponent.lightBar extends %ZEN.SVGComponent.meter

SVG light bar meter.
This displays a value within a representation of a LED light bar.
This control looks best when its width is half of its height.

Property Inventory (Including Private)

Method Inventory (Including Private)


Override viewBoxWidth for this component.

Properties (Including Private)

property highLampColor as %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];
Fill color used for high indicator lamp.
Property methods: highLampColorDisplayToLogical(), highLampColorGet(), highLampColorIsValid(), highLampColorLogicalToDisplay(), highLampColorLogicalToOdbc(), highLampColorNormalize(), highLampColorSet()
property lowLampColor as %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];
Fill color used for low indicator lamp.
Property methods: lowLampColorDisplayToLogical(), lowLampColorGet(), lowLampColorIsValid(), lowLampColorLogicalToDisplay(), lowLampColorLogicalToOdbc(), lowLampColorNormalize(), lowLampColorSet()
property outerBodyStyle as;
Optional. Style applied to outer region.
Property methods: outerBodyStyleDisplayToLogical(), outerBodyStyleGet(), outerBodyStyleIsValid(), outerBodyStyleLogicalToDisplay(), outerBodyStyleLogicalToOdbc(), outerBodyStyleNormalize(), outerBodyStyleSet()

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.
clientmethod updateLamps(animate) [ Language = javascript ]
Internal method: update lamps

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window