RangeModel

23 Sep 20251 minute to read

Interface for a class Range

Properties

border BorderModel

Sets and gets the options to customize the style properties of the border for the axis range.

color string

Sets and gets the color of the axis range.

end number

Sets and gets the end value for the range in axis.

endWidth number

Sets and gets the width for the end of the range in axis.

linearGradient LinearGradientModel

Sets and gets the properties to render a linear gradient for the range.
If both linear and radial gradient is set, then the linear gradient will be rendered in the range.

offset number|string

Sets and gets the offset value from where the range must be placed from the axis in linear gauge.

position Position

Sets and gets the position to place the ranges in the axis.

radialGradient RadialGradientModel

Sets and gets the properties to render a radial gradient for the range.

start number

Sets and gets the start value for the range in axis.

startWidth number

Sets and gets the width for the start of the range in axis.