Dundas Chart for ASP.NET
TickMark Class
Members  See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace : TickMark Class


Represents the major and minor tick marks along an axis.


TickMark class represents axis tick marks which are drawn next to the axis line. TickMarks share many common propertie with the Grid class. Class also contains methods for tick marks drawing.

Syntax

Visual Basic (Declaration)  
Public Class TickMark 
   Inherits Grid
Visual Basic (Usage) Copy Code
Dim instance As TickMark
C#  
public class TickMark : Grid 

Remarks

This class encapsulates all the functionality for all chart tick marks.

The TickMark class is exposed as the MajorTickMark and MinorTickMark properties of the Axis objects.

Major tick marks by default are displayed at the major grid lines, while minor tick marks must be explicitly displayed.

Major and minor tick marks by default have their Interval property set to zero (0). An Interval value of zero for major tick marks will result in the control determining an appropriate interval automatically. This does not happen for minor tick marks, which means that the developer must explicitly set the Interval property of the minor tick marks, otherwise they will not be displayed.

Using this class the developer can:

  • Enable or disable tick marks.

  • Set the color, width, length and line style of tick marks.

  • Specify a style that determines if tick marks are displayed outside of the axis, inside of the axis or across the axis.

  • Specify the starting point (where the first tick mark is drawn), as well as the tick mark interval (i.e. frequency).

Inheritance Hierarchy

System.Object
   Dundas.Charting.WebControl.Grid
      Dundas.Charting.WebControl.TickMark

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.