Skip to main content

%ZEN.SVGComponent.lightBar

Class %ZEN.SVGComponent.lightBar Extends meter [ Deprecated, System = 3 ]

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.

Parameters

DEFAULTVIEWBOXWIDTH

Parameter DEFAULTVIEWBOXWIDTH = 50;

Override viewBoxWidth for this component.

Properties

lowLampColor

Property lowLampColor As %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];

Fill color used for low indicator lamp.

highLampColor

Property highLampColor As %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];

Fill color used for high indicator lamp.

outerBodyStyle

Property outerBodyStyle As %ZEN.Datatype.style;

Optional. Style applied to outer region.

XDatas

SVGStyle

XData SVGStyle

SVGDef

XData SVGDef

Methods

renderMeter

ClientMethod renderMeter() [ Language = javascript ]

Render the inner SVG contents of this component.

updateLamps

ClientMethod updateLamps(animate) [ Language = javascript ]

Internal method: update lamps

setProperty

ClientMethod setProperty(property, value, value2) [ Language = javascript ]

Set the value of a named property.