React Chart - ArgumentAxisLabel

Configures the labels of the argument axis.

import { ArgumentAxisLabel } from "devextreme/viz/chart"

customizeHint

Specifies the hint that appears when a user points to an axis label.

Type:

Function

Function parameters:
argument:

Object

Information on the axis argument.

Object structure:
Name Type Description
value

Date

|

Number

|

String

The raw argument value.

valueText

String

The formatted value converted to a string.

Return Value:

String

The text for the hint to display.

customizeText

Customizes the text displayed by axis labels.

Type:

Function

Function parameters:
argument:

Object

Information on the axis argument.

Object structure:
Name Type Description
value

Date

|

Number

|

String

The raw argument value.

valueText

String

The formatted value converted to a string.

Return Value:

String

The text for the label to display.

Cannot be used in themes.

format

Formats a value before it is displayed in an axis label.

Type:

Format

Default Value: undefined