fast_charts library
Classes
-
BarChart<
D, T> - Shows several series of data as groups of bars.
- ChartLabel
-
Optional<
T> -
PieChart<
D, T> - Shows a single series of data in the form of pie chart sectors.
- RadialScale
-
RadialStackedBarChart<
D, T> - Shows several series of data in the form of arcs with a single center.
-
Series<
D, T> -
Represents series of data with specified
color
. -
StackedBarChart<
D, T> - Shows several series of data as stacked bars.
- StrokesConfig
Enums
- LabelPosition
- Configures where to place the label relative to the section.
Functions
-
calcPercent(
double value, double total) → double -
Calculates the percent of
value
oftotal
with accuracy up to a tenth. -
calcPercents(
List< double> values) → List<double> -
Calculates percentage of
values
so the summ of the result values is always exactly equal to 100.
Typedefs
-
ColorAccessor<
D, T> = Color Function(D domain, T value) -
Defines the color of a value of type
T
which is located in the domainD
. -
LabelAccessor<
D, T> = ChartLabel? Function(D domain, T value, double percent) -
MeasureAccessor<
T> = double Function(T value) -
Defines a double representation of a value of type
T
.