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


The Cursor class defines a horizontal or vertical line that defines a position along an axis.


Cursor class is responsible for chart axes cursor and selection functionality. It contains properties which define visual appearance, position and behavior settings. It also contains methods for drawing cursor and selection in the plotting area.

Syntax

Visual Basic (Declaration)  
Public Class Cursor 
Visual Basic (Usage) Copy Code
Dim instance As Cursor
C#  
public class Cursor 

Remarks

A cursor is a horizontal or vertical line that defines a position along an axis. A range selection is a range along an axis that is defined by a beginning and end position, and is displayed using a semi-transparent color.

Both cursors and range selections are implemented by the Cursor class, which is exposed as the CursorX and CursorY properties of the ChartArea object. The CursorX object is for the X axis of a chart area, and the CursorY object is for the Y axis. The AxisType property of these objects determines if the associated axis is primary or secondary.

The only cursor and range selection functionality outside of the Cursor class are the cursor and range selection related events of the root Chart object.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WinControl.Cursor

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.