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


Determines if a grid line and/or tick mark is displayed for a custom label.


Defines custom tick marks and/or grid lines to be drawn in the center of the label.

Syntax

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

Return Value

A GridTick enumeration value that determines whether a grid line and/or tick mark is displayed for a custom axis label. Defaults to none (GridTick.None).

Remarks

This property can be set so that a grid line and/or tick mark is displayed for a custom label.

A grid line and tick mark for a custom label are drawn in the middle of the custom label range that is defined by the To and From properties, and the position of the grid line/tick mark is not affected by the interval-related properties of an Axis object's grid and tick mark object properties (e.g. the Axis.MajorTickMark.Interval property value doesn't effect the position of a custom label's tick mark along that axis).

To set the GridTick property loop through all custom axis labels in the CustomLabels collection property, and set GridTick for the desired custom labels.

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.