Add a Secondary Axis to the Graph
|Product||Progress® Telerik® Reporting Graph Report Item|
When the values in my graph vary widely from series to series, or when I have a price and a volume, how can I 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 can change one series to a line type.
To accomplish the suggested solution, you need to have an existing graph and follow the steps:
Select the Graph item and locate the CoordinateSystems property in the property grid. Click the ellipsis button to open the CoordinateSystems collection editor.
Click 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 behavior is controlled by defining where the secondary axis crosses the shared axis.
For the following example assume that X is the shared axis and there are two Y axes.
For the Scale of the shared X axis, add two CrossAxisPositions. The first will be applied to the first Y axis. Leave its position to the default
For the second CrossAxisPositions applied to the second Y axis, set the position to
AtMaximumwhich will force it to cross the X axis at its maximum value on the right end of the axis scale.