DateTimeIntervalType 枚举

定义

指定间隔类型。Specifies an interval type.

public enum class DateTimeIntervalType
public enum DateTimeIntervalType
type DateTimeIntervalType = 
Public Enum DateTimeIntervalType
继承
DateTimeIntervalType

字段

Auto 0

Chart 控件自动确定。Automatically determined by the Chart control.

Days 5

间隔类型是天。Interval type is in days.

Hours 6

间隔类型以小时为单位。Interval type is in hours.

Milliseconds 9

间隔类型是毫秒。Interval type is in milliseconds.

Minutes 7

间隔类型以分钟为单位。Interval type is in minutes.

Months 3

间隔类型是月。Interval type is in months.

NotSet 10

未设置 IntervalType 或 IntervalOffsetType 属性。The IntervalType or IntervalOffsetType property is not set. 此值用于网格线、刻度线、带状线和轴标签,指示从元素所属的 Axis 对象获取的间隔类型。This value is used for grid lines, tick marks, strip lines and axis labels, and indicates that the interval type is being obtained from the Axis object to which the element belongs. Axis 对象设置此值不会产生任何效果。Setting this value for an Axis object will have no effect.

Number 1

间隔类型是数字。Interval type is in numerical.

Seconds 8

间隔类型是秒。Interval type is in seconds.

Weeks 4

间隔类型是周。Interval type is in weeks.

Years 2

间隔类型是年。Interval type is in years.

注解

DateTimeIntervalType枚举表示日期和时间间隔类型。The DateTimeIntervalType enumeration represents date and time interval types.

请注意, 如果使用值NotSet , IntervalType IntervalOffsetType 或之外NotSet的属性将视为值。AutoNote that if you use the NotSet value, properties other than IntervalType or IntervalOffsetType will treat NotSet as an Auto value.

LabelStyle这些值适用Grid于、和TickMarkStripLineDateTimeIntervalTypeThe DateTimeIntervalType values are applicable to the LabelStyle, Grid, TickMark and StripLine classes.

适用于