Chart for WinRT
Creating an Auxiliary Axis

Creating an Auxiliary Axis

To create an auxiliary Y Axis, use the following code:

C#
Copy Code
Axis ay2 = new Axis();
ay2.Position = AxisPosition.Far;
ay2.AxisType = AxisType.Y;
chart.View.Axes.Add(ay2);

Visual Basic
Copy Code
Dim ay2 As Axis = New Axis
ay2.Position = AxisPosition.Far
ay2.AxisType = AxisType.Y
chart.View.Axes.Add(ay2)

This will create an auxiliary Y Axis at the right, or Far, side of the chart.

 

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback