ChartDataValueReader class

Defensive helpers for chart data payloads that can arrive as decoded JSON, typed Dart maps, or hand-written object literals.

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

bounds(Iterable<List?> dataSets) ChartCartesianBounds?
cartesian(Object? item, int fallbackIndex) ChartPointValue?
numeric(Object? value) double?
ohlcCloseValueOrNull(Object? item) double?
Reads the close price from an OHLC/candlestick row.
yValue(Object? item, {double fallback = 0}) double
yValueOrNull(Object? item) double?