This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


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.


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()


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)