The Chart control enables you to create scale breaks along an axis both manually and automatically. Use scale breaks to skip data ranges from a Cartesian diagram's x- and y-axis scales.
At present, scale breaks can't work simultaneously with Zooming and Scrolling (2D XY-Charts). Scrolling has the higher priority. So, in a situation when both scale breaks and scrolling are enabled for any axis of the same diagram, scale breaks will be disabled, while scrolling will persist.
This document consists of the following 'how-to' sections:
Limits a maximum possible number of auto-generated scale breaks.
How to Create Scale Breaks Manually
In addition to automatic scale breaks, you can manually add scale breaks to a chart. For this, populate the Axis2D.ScaleBreaks collection with the ScaleBreak objects and limit each scale break by two edges in axis measurement units. Note that it does not matter in which order scale break edges are defined.
The following code shows how to specify two horizontal scale breaks:
Specifies a scale break's second edge. This value should be specified in an appropriate axis's measurement units.
How to Customize Scale Breaks' Appearance
You can modify the appearance of scale breaks (both manual and automatic) in different ways, for example, as the following image shows:
The markup below demonstrates how to change the distance between scale breaks' edges, their thickness, style, and color. Note that ScaleBreakOptions equally affect both manual and automatic scale breaks' appearance.