New to Telerik Reporting? Download free 30-day trial
When the values in a chart vary widely from series to series, or when you have mixed types of data (for example, price and volume), you can plot one or more series on a secondary vertical or horizontal axis. The scale of the secondary axis reflects the values for the associated series.
To help distinguish the data that is plotted along the secondary axis, you can change the chart type for just one of the series. For example, you could change one series to a line type.
To complete the following procedures, you must have an existing chart.
Select the Graph item and locate the CoordinateSystems property in the property grid. Click on the ellipsis button to open the CoordinateSystems collection editor.
Click on the Add button arrow and add a second coordinate system.
For the axis you want to reuse - open the drop down list and choose the axis created previously for the primary coordinate system.
For the new Axis choose New and the type of the scale from the drop down list.
The secondary axis can also appear on the right or top of the graph. This is controlled by defining where the secondary axis crosses the shared axis. For the example below assume that X is the shared axis and there are two Y axes.
For the Scale of the shared X axis you have to add two CrossAxisPositions.
The first will be applied to the first Y axis - leave the position to Auto (the default).
For the second one (applied to the second Y axis) - set the position to AtMaximum. This will force it to cross the X axis at its maximum value which should be on the right end of the axis scale.