Skip to main content
A newer version of this page is available. .

Range Bar

A Range Bar is the filled portion of a linear gauge that always starts at a fixed value along a scale and extends to another value (the scale’s current value or another fixed value).

The range bar extends to the scale’s current value, so when the scale’s value changes, the range bar’s boundaries change as well.

The image below demonstrates two range bars with different start values (0 and 40) that extend to their corresponding end values (40 and 100).

LinearGauge_RangeBar

A range bar is an instance of the LinearScaleRangeBar class.

The table below lists the main properties that affect element behavior and appearance.

Characteristics Members
Data BaseRangeBar.AnchorValue,BaseRangeBar.Value,BaseRangeBar.ActualValue
Layout BaseRangeBar.StartOffset,BaseRangeBar.EndOffset,BaseLeafPrimitive.ZOrder
Appearance BaseRangeBar.Appearance,BaseLeafPrimitive.Shader