ChartSeries<T, D> class
Renders the series.
- Implementers
Constructors
-
ChartSeries({ChartIndexedValueMapper<
D> xValueMapper, ChartIndexedValueMapper<num> yValueMapper, ChartIndexedValueMapper<String> dataLabelMapper, String name, List<T> dataSource, ChartIndexedValueMapper<Color> pointColorMapper, ChartIndexedValueMapper sortFieldValueMapper, bool enableTooltip, EmptyPointSettings emptyPointSettings, DataLabelSettings dataLabelSettings, double animationDuration, Color borderColor, double borderWidth, SelectionSettings selectionSettings, LegendIconType legendIconType, double opacity, SortingOrder sortingOrder })
Properties
- animationDuration → double
-
Duration of the series animation. It takes millisecond value as input. [...]
final
- borderColor → Color
-
Border color of the series. [...]
final
- borderWidth → double
-
Border width of the series. [...]
final
-
dataLabelMapper
→ ChartIndexedValueMapper<
String> -
Field in the data source, which is considered as text for the data points. [...]
final
- dataLabelSettings → DataLabelSettings
-
Customizes the data labels in a series. Data label is a text, which displays
the details about the data point. [...]
final
-
dataSource
→ List<
T> -
Data required for rendering the series. If no data source is specified, empty
chart will be rendered without series. [...]
final
- emptyPointSettings → EmptyPointSettings
-
Customizes the empty points, i.e. null data points in a series. [...]
final
- enableTooltip → bool
-
Enables or disables the tooltip for this series. Tooltip will display more details
about data points when tapping the data point region. [...]
final
- isVisible ↔ bool
-
read / write
- legendIconType → LegendIconType
-
Shape of the legend icon. Any shape in the LegendIconType can be applied
to this property. By default, icon will be rendered based on the type of the series. [...]
final
- name → String
-
Name of the series. The name will be displayed in legend item by default.
If name is not specified for the series, then the current series index with ‘series’
text prefix will be considered as series name. [...]
final
- opacity → double
-
Opacity of the series. The value ranges from 0 to 1. [...]
final
-
pointColorMapper
→ ChartIndexedValueMapper<
Color> -
Field in the data source, which is considered as fill color for the data points. [...]
final
- selectionSettings → SelectionSettings
-
Customizes the data points or series on selection. [...]
final
- sortFieldValueMapper → ChartIndexedValueMapper
-
Field in the data source, which is considered for sorting the data points. [...]
final
- sortingOrder → SortingOrder
-
The data points in the series can be sorted in ascending or descending order.
The data points will be rendered in the specified order if it is set to none. [...]
final
-
xValueMapper
→ ChartIndexedValueMapper<
D> -
Field in the data source, which is considered as x-value. [...]
final
-
yValueMapper
→ ChartIndexedValueMapper<
num> -
Field in the data source, which is considered as y-value. [...]
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited