Axis.IntervalOffsetType 属性

定义

获取或设置轴的间隔偏移量类型。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; }
member this.IntervalOffsetType : System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType with get, set
Public Property IntervalOffsetType As DateTimeIntervalType

属性值

轴的间隔偏移量类型。The interval offset type of an axis. 默认值为 AutoThe default value is Auto.

属性

注解

此属性确定轴的间隔偏移量类型, 并用于轴标签的间隔偏移量类型, 以及如果轴元素自己IntervalOffsetType的属性值设置为NotSet, 则使用主要刻度线或网格线。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.

将此属性设置NotSet为将导致使用Auto值 (只有轴元素 (例如, 主要网格线等) 可以设置为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).

备注

轴的次要网格线和刻度线决不会将此属性用于其间隔偏移量类型。The minor grid lines and tick marks of an axis never use this property for their interval offset type.

轴的间隔由IntervalOffset属性确定。The interval of the axis is determined by the IntervalOffset property.

适用于