Angular Chart - ValueAxisLabel

Configures the labels of the value axis.

import { DxChartTypes } from "devextreme-angular/ui/chart"

customizeHint

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

Type:

Function

Function parameters:
axisValue:

Object

Information on the axis value.

Object structure:
Name Type Description
value

Date

|

Number

|

String

The raw 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:
axisValue:

Object

Information on the axis value.

Object structure:
Name Type Description
value

Date

|

Number

|

String

The raw 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