Axis

23 Sep 20252 minutes to read

Sets and gets the options to customize the axis for the circular gauge.

Properties

annotations AnnotationModel[]

Sets and gets the annotation elements for an axis in circular gauge.

background string

Sets and gets the background color of an axis. This property accepts value in hex code, rgba string as a valid CSS color string.

Defaults to null

direction GaugeDirection

Sets and gets the direction of an axis.

Defaults to ClockWise

endAngle number

Sets and gets the end angle of an axis in circular gauge.

Defaults to 160

hideIntersectingLabel boolean

Enables and disables the intersecting labels to be hidden in axis.

Defaults to false

labelStyle LabelModel

Sets and gets the style of the axis label in circular gauge.

lineStyle LineModel

Sets and gets the style of the line in axis of circular gauge.

majorTicks TickModel

Sets and gets the major tick lines of an axis in circular gauge.

Defaults to { width: 2, height: 10 }

maximum number

Sets and gets the maximum value of an axis in the circular gauge.

Defaults to null

minimum number

Sets and gets the minimum value of an axis in the circular gauge.

Defaults to null

minorTicks TickModel

Sets and gets the minor tick lines of an axis in circular gauge.

Defaults to { width: 2, height: 5 }

pointers PointerModel[]

Sets and gets the pointers of an axis in circular gauge.

radius string

Sets and gets the radius of an axis in circular gauge.

Defaults to null

rangeGap number

Sets and gets the gap between the ranges by specified value in circular gauge.

Defaults to null

ranges RangeModel[]

Sets and gets the ranges of an axis in circular gauge.

roundingPlaces number

Sets and gets the rounding off value in the an axis label.

Defaults to null

showLastLabel boolean

Enables and disables the last label of axis when it is hidden in circular gauge.

Defaults to false

startAndEndRangeGap boolean

Enables and disables the start and end gap between the ranges and axis in circular gauge.

Defaults to false

startAngle number

Sets and gets the start angle of an axis in circular gauge.

Defaults to 200