Dundas Chart for Windows Forms
AxisType Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Cursor Class : AxisType Property


Gets or sets the type of axis that the cursor is attached to.
The type of axis the cursor is attached to.

Syntax

Visual Basic (Declaration)  
Public Property AxisType As AxisType
Visual Basic (Usage) Copy Code
Dim instance As Cursor
Dim value As AxisType
 
instance.AxisType = value
 
value = instance.AxisType
C#  
public AxisType AxisType {get; set;}

Return Value

An AxisType value representing whether the axis is attached to the primary or secondary axis.

Remarks

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.

Requirements

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

See Also

© 2009 All Rights Reserved.