Search results

LabelModel API in Vue Linear Gauge API component

Interface for a class Label

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 offset value from where the labels must be placed from the axis in linear gauge.

position

Position

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

useRangeColor

boolean

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