ChartDirector 6.2 (.NET Edition)
public Axis addAxis(int align, int offset);
Public Function addAxis(align As Integer, offset As Integer) As Axis
Adds an additional axis to the chart.
By default, ChartDirector XY charts have 2 x-axes and 2 y-axes at the 4 borders of the plot area. The addAxis method can be used to create additional axis.
The new axis will be put at one of the 4 borders of the plot area. To avoid overlapping with existing axis, the new axis will not be put exactly as the plot area border, but at an offset from it.
|align||(Mandatory)||Specifies which side of the plot area is the primary side of the axis. Must be one of the constants Left, Right, Top and Bottom for the 4 sides of the plot area.|
|offset||(Mandatory)||An offset in pixels to move the axis away from the plot area. If a negative value is used, it will mean to move the axis into the plot area.
object representing the new axis added.
© 2017 Advanced Software Engineering Limited. All rights reserved.