Gauges.LinearGauge.LinearScale
Hierarchy
Common.AxisBaseGauges.LinearGauge.LinearScaleSubclasses
The LinearScale object exposes the minimum and maximum properties that you can set to define a range of values. It is also used to define every visual element in the Linear Gauge - needles, labels, tick marks, ranges and so on.
Config options
Specifies collection of bar markers used to point out values on the scale. These markers are displayed as bars that always start at the minimum value of the scale and end to an user set value.
Specifies on which values on the scale to be plotted labels and tick marks.
Used for setting specific values (like [3, 5, 25, 93]) instead of an interval (like on every Nth value).
Specifies how often labels and tick marks are plotted along that scale.
Automatically calculated if it is not set.
Specifies whether or not the axis scale is logarithmic.
Defaults to: false
Specifies the scale major tick marks.
Defaults to: {length: 12, offset: 0.33}
Overrides: Common.AxisBase.majorTickMarks
Specifies the scale margin.
Defaults to: {top: 0, left: 0, bottom: 0, right: 0}
Specifies the maximum value of the scale.
Defaults to: 100
Specifies the minimum value of the scale.
Defaults to: 0
Specifies the scale minor tick marks.
Defaults to: {visible: false, length: 8, offset: 0.42}
Overrides: Common.AxisBase.minorTickMarks
Specifies collection of needles used to point out values on the scale. The needles are displayed as pointers that indicate value on the scale.
Specifies collection of ranges used to highlight diapason of values on the scale.
Specifies collection of ranges used to highlight diapason of values on the scale.