AutoDateTimeTickFormatterSpec class
TickFormatterSpec that automatically chooses the appropriate level of formatting based on the tick stepSize. Each level of date granularity has its own TimeFormatterSpec used to specify the formatting strings at that level.
- Implemented types
- Annotations
-
- @immutable
Constructors
- AutoDateTimeTickFormatterSpec({TimeFormatterSpec? minute, TimeFormatterSpec? hour, TimeFormatterSpec? day, TimeFormatterSpec? month, TimeFormatterSpec? year})
-
Creates a TickFormatterSpec that automatically chooses the formatting
given the individual TimeFormatterSpec formatters that are set.
const
Properties
- day → TimeFormatterSpec?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hour → TimeFormatterSpec?
-
final
- minute → TimeFormatterSpec?
-
final
- month → TimeFormatterSpec?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- year → TimeFormatterSpec?
-
final
Methods
-
createTickFormatter(
ChartContext context) → DateTimeTickFormatter -
override
-
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.
override