Grid.IntervalOffsetType Property

Definition

Gets or sets the interval offset type of major and minor grid lines.

public:
 property System::Web::UI::DataVisualization::Charting::DateTimeIntervalType IntervalOffsetType { System::Web::UI::DataVisualization::Charting::DateTimeIntervalType get(); void set(System::Web::UI::DataVisualization::Charting::DateTimeIntervalType value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.DateTimeIntervalType IntervalOffsetType { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.IntervalOffsetType : System.Web.UI.DataVisualization.Charting.DateTimeIntervalType with get, set
Public Property IntervalOffsetType As DateTimeIntervalType

Property Value

A DateTimeIntervalType enumeration value that indicates the interval type. By default it is not set for major grid lines. The default value for minor grid lines is Auto.

Attributes

Remarks

By default this property is not set for axis labels, major tick marks and major grid lines. If it is not set - either by default, by explicitly specifying "Not Set" at design time, or by assigning it a value of NotSet at run time - the actual value of this property is determined by the IntervalOffsetType property of the Axis object that the chart element - a grid line or tick mark, for example - belongs to.

The interval offset type of minor tick marks and grid lines is never affected by the IntervalOffsetType property value.

If this interval offset type is set to Auto, the IntervalType property will be used.

Applies to