TimeRangeTickProviderImpl class

Constructors

TimeRangeTickProviderImpl(TimeStepper timeStepper, {int requiredMinimumTicks = 3})

Properties

hashCode int
The hash code for this object.
no setterinherited
requiredMinimumTicks int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeStepper → TimeStepper
final

Methods

createTicks(List<DateTime> domainValues, {required ChartContext? context, required GraphicsFactory graphicsFactory, required MutableScale<DateTime> scale, required TickFormatter<DateTime> formatter, required Map<DateTime, String> formatterValueCache, required TickDrawStrategy<DateTime> tickDrawStrategy, num? stepSize}) List<Tick<DateTime>>
Create ticks from domainValues.
inherited
getClosestStepSize(int stepSize) int
Find the closet step size, from provided step size, in milliseconds.
getTicks({required ChartContext? context, required GraphicsFactory graphicsFactory, required covariant DateTimeScale scale, required TickFormatter<DateTime> formatter, required Map<DateTime, String> formatterValueCache, required TickDrawStrategy<DateTime> tickDrawStrategy, required AxisOrientation? orientation, bool viewportExtensionEnabled = false, TickHint<DateTime>? tickHint}) List<Tick<DateTime>>
Returns a list of ticks in value order that should be displayed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
providesSufficientTicksForRange(DateTimeExtents domainExtents) bool
Returns if this tick provider will produce a sufficient number of ticks for domainExtents.
toString() String
A string representation of this object.
inherited

Operators

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