Axis

23 Sep 20251 minute to read

Sets and gets the options for customizing the axis of a gauge.

Properties

isInversed boolean

Enables or disables the inversed axis.

Defaults to false

labelStyle LabelModel

Sets and gets the options for customizing the appearance of the label in axis.

line LineModel

Sets and gets the options for customizing the appearance of the axis line.

majorTicks TickModel

Sets and gets the options for customizing the major tick lines.

maximum number

Sets and gets the maximum value for the axis.

Defaults to 100

minimum number

Sets and gets the minimum value for the axis.

Defaults to 0

minorTicks TickModel

Sets and gets the options for customizing the minor tick lines.

opposedPosition boolean

Enables or disables the opposed position of the axis in the linear gauge.

Defaults to false

pointers PointerModel[]

Sets and gets the options for customizing the pointers of an axis.

ranges RangeModel[]

Sets and gets the options for customizing the ranges of an axis.

showLastLabel boolean

Shows or hides the last label in the axis of the linear gauge.

Defaults to false