Axis.IntervalOffsetType 属性

定义

获取或设置轴的间隔偏移量类型。Gets or sets the interval offset type of an axis.

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

属性值

DateTimeIntervalType

DateTimeIntervalType,表示轴的间隔偏移量类型。A DateTimeIntervalType that represents the interval offset type of an axis. 默认值是 AutoThe default value is Auto.

属性

注解

此属性确定轴的间隔偏移量类型。This property determines the interval offset type of an axis. 如果轴元素自己的 IntervalOffsetType 属性值设置为,则它用于轴标签、主要刻度线和网格线的间隔偏移量类型 NotSetIt is used for the interval offset type of an axis' labels, major tick marks, and grid lines if the axis element's own IntervalOffsetType property value is set to NotSet.

如果将此属性设置为,则 NotSetAuto (仅在轴元素(例如主要网格线等)上使用值。可以将设置为 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.

适用于