Search results

Label API in Vue 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.

offset

number

Sets and gets the value to position the axis labels in linear gauge.

Defaults to 0

position

string

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

Defaults to Auto

useRangeColor

boolean

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

Defaults to false