ValueAxisNotesLabel
The configuration options of the value axis notes label.
background?
string
The background color of the label. Accepts a valid CSS color string, including hex and rgb.
border?
The border of the label.
color?
string
The text color of the label. Accepts a valid CSS color string, including hex and rgb.
content?
(e: AxisNoteContentArgs) => string
The function which returns the label content.
You can split the text into multiple lines by using the line feed characters ("\n"
).
font?
string
The font style of the label.
format?
string
The format used to display the notes label. Uses the IntlService format
method.
Contains one placeholder ("{0}"
) which represents the axis value.
position?
The position of the labels.
"inside"
—The label is positioned inside the icon."outside"
—The label is positioned outside the icon.
rotation?
number
The rotation angle of the label. By default, the label is not rotated.
visible?
boolean
If set to true
, the Chart displays the value axis notes label.
By default, the value axis notes label is visible.