DygraphDataHandler class
Chart data interface to define a common, generic data format that works for all data structures.
By default the correct DataHandler is chosen based on the options set. Optionally the user may use this class to provide his own DataHandler (similar to the plugin system).
- Annotations
-
- @JS()
- @anonymous
Constructors
- DygraphDataHandler()
-
factory
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
-
extractSeries(
dynamic rawData, int seriesIndex, [DygraphOptions? options]) → List - Extracts one series from the raw data (a 2D array) into an array of the unified data format. This is where undesirable points (i.e. negative values on log scales and missing values through which we wish to connect lines) are dropped.
-
getExtremeYValues(
List series, List dateWindow, [DygraphOptions? options]) → List - Computes the range of the data series (including confidence intervals).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onLineEvaluated(
List points, dynamic axis, bool logscale) → void - Callback called for each series after the layouting data has been calculated before the series is drawn. Here normalized positioning data should be calculated for the extras of each point.
-
rollingAverage(
List series, int rollPeriod, [DygraphOptions? options]) → List - Calculates the rolling average of a data set.
-
seriesToPoints(
List series, String setName, int boundaryIdStart) → List - Converts a series to a Point array. The resulting point array must be returned in increasing order of idx property.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited