class %ZEN.SVGComponent.fuelGauge
extends meter
SVG fuel gauge meter.
This displays a value within a representation of a fuel gauge.
property format
as %ZEN.Datatype.string;
Optional. Numeric format string to apply to the odometer value.
property highLampColor
as %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];
Fill color used for high indicator lamp.
property levelBoxStyle
as %ZEN.Datatype.style;
Optional. Style applied to level box.
property levelTextStyle
as %ZEN.Datatype.style;
Optional. Style applied to text in level box.
property logo
as %ZEN.Datatype.caption [ InitialExpression = "Zen" ];
Text for logo displayed in center of dial.
property logoStyle
as %ZEN.Datatype.style;
Optional. Style applied to logo.
property lowLampColor
as %ZEN.Datatype.color [ InitialExpression = "url(#glow-red)" ];
Fill color used for low indicator lamp.
property needleStyle
as %ZEN.Datatype.style;
Optional. Style applied to needle.
property outerBodyStyle
as %ZEN.Datatype.style;
Optional. Style applied to outer region.
property panelStyle
as %ZEN.Datatype.style;
Optional. Style applied to bottom panel.
method renderMeter()
[ Language = javascript ]
Render the inner SVG contents of this component.
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.
method updateNeedle(animate)
[ Language = javascript ]
Internal method: update position of needle