CandlestickViewportIndex class

Immutable source index for ordered candlestick data.

Construction performs the only whole-series pass. Viewport queries use two binary searches and therefore do not rescan large source lists while panning or zooming.

Constructors

CandlestickViewportIndex(List<CandlestickDataPoint> points)

Properties

hashCode int
The hash code for this object.
no setterinherited
nominalSpacingData double?
Median positive interval between adjacent source candles.
final
points List<CandlestickDataPoint>
final
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
visibleRange({required double xMin, required double xMax, double paddingData = 0}) CandlestickVisibleRange

Operators

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