Progress® Telerik® Reporting R2 2017

How to: Add Secondary Axis

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.

  1. Select the Graph item and locate the CoordinateSystems property in the property grid. Click on the ellipsis button to open the CoordinateSystems collection editor.

  2. Click on the Add button arrow and add a second coordinate system.

  3. For the axis you want to reuse - open the drop down list and choose the axis created previously for the primary coordinate system.

  4. 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.

  1. For the Scale of the shared X axis you have to add two CrossAxisPositions.

  2. The first will be applied to the first Y axis - leave the position to Auto (the default).

  3. 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.