Search results

Label API in React Linear Gauge API component

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

Properties

font

FontModel

Sets and gets the options for customizing the style of the text in axis labels.

format

string

Sets and gets the format for the axis label. This property accepts any global format string like ‘C’, ‘n1’, ‘P’ etc. Also accepts placeholder like ‘{value}°C’ in which value represent the axis label e.g. 20°C.

Defaults to

offset

number

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

Defaults to 0

position

Position

Sets and gets the position of the axis label in linear gauge.

Defaults to Auto

useRangeColor

boolean

Enables or disables to use the color of the ranges in the labels of the linear gauge.

Defaults to false