The type of axis the cursor is attached to.
Visual Basic (Declaration) | |
---|---|
Public Property AxisType As AxisType |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AxisType AxisType {get; set;} |
Return Value
An AxisType value representing whether the axis is attached to the primary or secondary axis.This property determines which axis a cursor is attached to.
There are two sets of axes: primary and secondary. Primary axes for all charts except the bar charts are located at the bottom (primary X axis) and left (primary Y axis) border of the chart area. The secondary axes are located at the right (secondary X axis) and top (secondary Y axis) border of the chart area.
Note that if all series plotted within a chart area use only one type of axis (e.g. primary X axis) then setting this property to an axis type that isn't used by the series (e.g. secondary X axis) will have no effect, since the cursor will automatically be attached to the only axis being used to plot the series.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family