All docs
V24.1
24.2
24.1
23.2
23.1
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.
Box
API
Map

JavaScript/jQuery 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