Skip to main content

%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

Method Inventory

Parameters

parameter DEFAULTVIEWBOXWIDTH = 50;
Override viewBoxWidth for this component.

Properties

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 %ZEN.Datatype.style;
Optional. Style applied to outer region.
Property methods: outerBodyStyleDisplayToLogical(), outerBodyStyleGet(), outerBodyStyleIsValid(), outerBodyStyleLogicalToDisplay(), outerBodyStyleLogicalToOdbc(), outerBodyStyleNormalize(), outerBodyStyleSet()

Methods

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

Inherited Methods

FeedbackOpens in a new tab