DateTimeIntervalType enum

Interval type of the DateTime and DateTimeCategory axis.

Inheritance
Available extensions

Values

auto → const DateTimeIntervalType
  • DateTimeIntervalType.auto, will calculate interval based on the data points.
years → const DateTimeIntervalType
  • DateTimeIntervalType.years, will consider interval as years.
months → const DateTimeIntervalType
  • DateTimeIntervalType.months, will consider interval as months.
days → const DateTimeIntervalType
  • DateTimeIntervalType.days, will consider interval as days.
hours → const DateTimeIntervalType
  • DateTimeIntervalType.hours, will consider interval as hours.
minutes → const DateTimeIntervalType
  • DateTimeIntervalType.minutes, will consider interval as minutes.
seconds → const DateTimeIntervalType
  • DateTimeIntervalType.seconds, will consider interval as seconds.
milliseconds → const DateTimeIntervalType
  • DateTimeIntervalType.milliseconds, will consider interval as milliseconds(ms).

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<DateTimeIntervalType>
A constant List of the values in this enum, in order of their declaration.