Angular Chart - valueAxis.breakStyle

Configures scale break appearance.

Selector: dxo-break-style
Type:

Object

The following code snippet configures commonAxisSettings.breakStyle to customize items in valueAxis.breaks[] and argumentAxis.breaks[].

app.component.html
  • <dx-chart>
  • <dxo-common-axis-settings>
  • <dxo-break-style
  • color="red"
  • line="straight"
  • [width]="15"
  • ></dxo-break-style>
  • </dxo-common-axis-settings>
  • <dxo-argument-axis>
  • <dxi-break startValue="1998" endValue="2003"></dxi-break>
  • </dxo-argument-axis>
  • <dxo-value-axis>
  • <dxi-break startValue="250" endValue="350"></dxi-break>
  • <dxo-value-axis>
  • </dx-chart>

color

Specifies the scale breaks' color.

Type:

String

Default Value: '#ababab'

This property supports the following colors:

line

Specifies the scale breaks' line style.

Default Value: 'waved'

width

Specifies the scale breaks' width in pixels.

Type:

Number

Default Value: 5