/ Linear Gauge / LabelModel
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 value to position the axis labels in linear gauge.

position

string

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

useRangeColor

boolean

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