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


Gets or sets the interval of an axis.


Axis interval size.

Syntax

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

Return Value

The interval of an axis. Defaults to "Auto" (represented by a value of zero).

Remarks

This property determines how often the labels and major tick marks and grid lines associated with the axis are drawn if the Interval property value of the labels, tick marks, or grid lines is "NotSet" (to assign a value of "NotSet" to a grid line, tick mark or label set it to Double.Nan, which is the default).

The Interval property of an axis' major tick marks, grid lines and labels has priority over the Interval property setting of the Axis object.

A value of zero represents an "Auto" value. Also, Axis.Interval cannot be set to "NotSet" (e.g. a Double.NaN). Assigning Double.NaN will result in an "Auto" value being used (e.g. a value of zero).

Note that the minor grid lines and tick marks of an axis never use this property for their interval.

The interval type of the axis is determined by the IntervalType property.

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.