編輯

共用方式為


DateTimeIntervalType Enum

Definition

Specifies an interval type.

public enum class DateTimeIntervalType
public enum DateTimeIntervalType
type DateTimeIntervalType = 
Public Enum DateTimeIntervalType
Inheritance
DateTimeIntervalType

Fields

Name Value Description
Auto 0

Automatically determined by the Chart control.

Number 1

Interval type is in numerical.

Years 2

Interval type is in years.

Months 3

Interval type is in months.

Weeks 4

Interval type is in weeks.

Days 5

Interval type is in days.

Hours 6

Interval type is in hours.

Minutes 7

Interval type is in minutes.

Seconds 8

Interval type is in seconds.

Milliseconds 9

Interval type is in milliseconds.

NotSet 10

The IntervalType or IntervalOffsetType property is not set. 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. Setting this value for an Axis object will have no effect.

Remarks

The DateTimeIntervalType enumeration represents date and time interval types.

Note that if you use the NotSet value, properties other than IntervalType or IntervalOffsetType will treat NotSet as an Auto value.

The DateTimeIntervalType values are applicable to the LabelStyle, Grid, TickMark and StripLine classes.

Applies to