Edit

Share via


Axis.IntervalOffsetType Property

Definition

Gets or sets the interval offset type of an axis.

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

Property Value

The interval offset type of an axis. The default value is Auto.

Attributes

Remarks

This property determines the interval offset type of an axis, and is used for the interval offset type of an axis' labels, and major tick marks or grid lines if the axis element's own IntervalOffsetType property value is set to NotSet.

Setting this property to NotSet will result in a value of Auto being used (only the axis elements such as major grid lines, etc. can be set to NotSet).

Note

The minor grid lines and tick marks of an axis never use this property for their interval offset type.

The interval of the axis is determined by the IntervalOffset property.

Applies to