React Chart - commonAxisSettings.breakStyle
Configures scale break appearance.
Selector: BreakStyle
Type:
The following code snippet configures commonAxisSettings.breakStyle to customize items in valueAxis.breaks[] and argumentAxis.breaks[].
App.tsx
- function App() {
- return (
- <Chart>
- <CommonAxisSettings>
- <BreakStyle
- color="red"
- line="straight"
- width={15}
- />
- </CommonAxisSettings>
- <ArgumentAxis>
- <Break startValue="1998" endValue="2003" />
- </ArgumentAxis>
- <ValueAxis>
- <Break startValue="250" endValue="350" />
- </ValueAxis>
- </Chart>
- )
- }
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