React Chart - CommonAxisSettings

Defines common settings for both the argument and value axis in a chart.

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

aggregatedPointsPosition

Specifies the start position of the aggregated series points in the aggregation interval.

Default Value: 'betweenTicks'

allowDecimals

Specifies whether to allow decimal values on the axis. When false, the axis contains integer values only.

Type:

Boolean

Default Value: undefined

color

Specifies the color of the axis line.

Type:

String

Default Value: '#767676'

constantLineStyle

Configures the appearance of all constant lines in the UI component.

Type:

Object

discreteAxisDivisionMode

Specifies whether ticks and grid lines should cross axis labels or lie between them. Applies only to the axes of the "discrete" type.

Default Value: 'betweenLabels'

endOnTick

Specifies whether to force the axis to start and end on ticks.

Type:

Boolean

Default Value: undefined

inverted

Inverts the axis.

Type:

Boolean

Default Value: false

label

Configures axis labels.

Type:

Object

maxValueMargin

Controls the empty space between the maximum series points and the axis. Applies only to the axes of the "continuous" and "logarithmic" type.

Type:

Number

Default Value: undefined

minValueMargin

Controls the empty space between the minimum series points and the axis. Applies only to the axes of the "continuous" and "logarithmic" type.

Type:

Number

Default Value: undefined

opacity

Specifies how transparent the axis line should be.

Type:

Number

Default Value: undefined

placeholderSize

Reserves a pixel-measured space for the axis.

Type:

Number

Default Value: null

stripStyle

Configures the appearance of strips.

Type:

Object

title

Configures axis titles.

Type:

Object

valueMarginsEnabled

Adds an empty space between the axis and the minimum and maximum series points.

Type:

Boolean

Default Value: true

visible

Makes the axis line visible.

Type:

Boolean

Default Value: true

width

Specifies the width of the axis line in pixels.

Type:

Number

Default Value: 1