DateTimeIntervalType enum

Interval type of the DateTime axis.

Constants

auto → const DateTimeIntervalType
  • DateTimeIntervalType.auto, will calculate interval based on the data points.
const DateTimeIntervalType(0)
days → const DateTimeIntervalType
  • DateTimeIntervalType.days, will consider interval as days.
const DateTimeIntervalType(3)
hours → const DateTimeIntervalType
  • DateTimeIntervalType.hours, will consider interval as hours.
const DateTimeIntervalType(4)
minutes → const DateTimeIntervalType
  • DateTimeIntervalType.minutes, will consider interval as minutes.
const DateTimeIntervalType(5)
months → const DateTimeIntervalType
  • DateTimeIntervalType.months, will consider interval as months.
const DateTimeIntervalType(2)
seconds → const DateTimeIntervalType
  • DateTimeIntervalType.seconds, will consider interval as seconds.
const DateTimeIntervalType(6)
values → const List<DateTimeIntervalType>

A constant List of the values in this enum, in order of their declaration.

const List<DateTimeIntervalType>
years → const DateTimeIntervalType
  • DateTimeIntervalType.years, will consider interval as years.
const DateTimeIntervalType(1)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

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