React Chart - CommonAxisSettingsConstantLineStyle

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

import { ChartTypes } from "devextreme-react/chart"

color

Specifies the color of constant lines.

Type:

String

Default Value: '#000000'

dashStyle

Specifies the dash style of constant lines.

Type:

DashStyle

Default Value: 'solid'

label

Configures constant line labels.

Type:

Object

paddingLeftRight

Generates a pixel-measured empty space between the left/right side of a constant line and the constant line label.

Type:

Number

Default Value: 10

paddingTopBottom

Generates a pixel-measured empty space between the top/bottom side of a constant line and the constant line label.

Type:

Number

Default Value: 10

width

Specifies the width of constant lines in pixels.

Type:

Number

Default Value: 1