JavaScript/jQuery Chart - valueAxis.breakStyle
Configures scale break appearance.
Type:
The following code snippet configures commonAxisSettings.breakStyle to customize items in valueAxis.breaks[] and argumentAxis.breaks[].
index.js
- $(() => {
- $("#chartContainer").dxChart({
- commonAxisSettings: {
- breakStyle: {
- color: "red",
- line: "straight",
- width: 15,
- },
- },
- argumentAxis: {
- breaks: [{ startValue: 1998, endValue: 2003 }],
- },
- valueAxis: {
- breaks: [{ startValue: 250, endValue: 350 }],
- },
- })
- })
color
Specifies the scale breaks' color.
Type:
Default Value: '#ababab'
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address