flart_data library

Classes

ComputedFlartDatum<D, R>
FlartData<T, D extends Comparable, R extends Comparable>
A data set of type T with a domain of type D and a range of type R. [...]

Functions

distanceFnForType<T>(Type type) DistanceFn
Returns a function that returns the distance between two given instances of type type.
flartDataFromIterables<D extends Comparable, R extends Comparable>(List<D> domain, List<R> range, {String domainAxisId, String rangeAxisId, FlartAxis<D> domainAxis, FlartAxis<R> rangeAxis}) FlartData<MapEntry<D, R>, D, R>
interpolate<T extends Comparable>(T t, {T other, double skew: 0.5}) Comparable
measureFnForType(Type type) MeasureFn
Returns a function that returns the measurement of a given type T.
minValueOfType(Type type) MinValueFn
Returns a function that returns the minimum possible non-negative value of an instance of type type.

Enums

PlotType

Typedefs

DistanceFn<T>(T, T) double
A function that returns the measurable distance between any two instances of type T. [...]
DomainFn<T, D>(T, int) → D
T is the object type which holds the data to be charted. D is the domain type of the data (e.g., dates, days, numbers, etc) R is the range type of the data (e.g., prices, numbers, etc.)
MeasureFn<T>(T) double
A function that returns the measurement of a given instance of type T. [...]
MinValueFn<T>() → T
A function that returns the minimum possible non-negative value of T. [...]
RangeFn<T, R>(T, int) → R