New to KendoReactStart a free 30-day trial

Represents the props of the KendoReact ChartValueAxisNotesLabel component.

Definition

Package:@progress/kendo-react-charts

Properties

The background color of the label. Accepts a valid CSS color string, including hex and rgb.

The border of the label.

color?

string

The text color of the label. Accepts a valid CSS color string, including hex and rgb.

The function which returns the label content. The function argument contains a value field. It defines the axis value. You can split the text into multiple lines by using the line feed characters ("\n").

Parameters:eanyReturns:

string

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.

The position of the labels.

The supported values are:

  • "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.