StackedColumnSeries<T, D> class

Renders the stacked column series.

Inheritance

Constructors

StackedColumnSeries({@required List<T> dataSource, @required ChartValueMapper<T, D> xValueMapper, @required ChartValueMapper<T, num> yValueMapper, ChartValueMapper<T, dynamic> sortFieldValueMapper, ChartValueMapper<T, Color> pointColorMapper, ChartValueMapper<T, String> dataLabelMapper, SortingOrder sortingOrder, bool isTrackVisible, String groupName, String xAxisName, String yAxisName, String name, Color color, double width, double spacing, MarkerSettings markerSettings, EmptyPointSettings emptyPointSettings, DataLabelSettings dataLabelSettings, bool isVisible, LinearGradient gradient, BorderRadius borderRadius, bool enableTooltip, double animationDuration, Color trackColor, Color trackBorderColor, double trackBorderWidth, double trackPadding, Color borderColor, double borderWidth, SelectionSettings selectionSettings, bool isVisibleInLegend, LegendIconType legendIconType, String legendItemText, List<double> dashArray, double opacity, List<int> initialSelectedDataIndexes })

Properties

animationDuration → double
Duration of the series animation. It takes millisecond value as input. [...]
final, inherited
borderColor Color
Border color of the series. [...]
final, inherited
borderRadius BorderRadius
Customizes the corners of the column. Each corner can be customized with a desired value or with a single value. [...]
final, inherited
borderWidth → double
Border width of the series. [...]
final, inherited
color Color
Color of the series. If no color is specified, then the series will be rendered with the default palette color. [...]
final, inherited
dashArray ↔ List<double>
Dashes of the series. Any number of values can be provided in the list. Odd value is considered as rendering size and even value is considered as gap. [...]
read / write, inherited
dataLabelMapper ChartIndexedValueMapper<String>
Field in the data source, which is considered as text for the data points. [...]
final, inherited
dataLabelSettings DataLabelSettings
Customizes the data labels in a series. Data label is a text, which displays the details about the data point. [...]
final, inherited
dataSource → List<T>
Data required for rendering the series. If no data source is specified, empty chart will be rendered without series. [...]
final, inherited
emptyPointSettings EmptyPointSettings
Customizes the empty points, i.e. null data points in a series. [...]
final, inherited
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, inherited
gradient LinearGradient
Fills the chart series with gradient color. [...]
final, inherited
groupName ↔ String
read / write, inherited
hashCode → int
The hash code for this object.
read-only, inherited
highValueMapper ChartIndexedValueMapper<num>
Field in the data source, which is considered as high value for the data points. [...]
final, inherited
initialSelectedDataIndexes ↔ List<int>
read / write, inherited
isTrackVisible → bool
Renders column with track. Track is a rectangular bar rendered from the start to the end of the axis. Column series will be rendered above the track. [...]
final, inherited
isVisible ↔ bool
Toggles the visibility of the series. [...]
read / write, final, inherited
isVisibleInLegend → bool
Toggles the visibility of the legend item of this specific series in the legend. If it is set to false, the legend item for this series will not be visible in the legend. [...]
final, inherited
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, inherited
legendItemText → String
Text to be displayed in legend. By default, the series name will be displayed in the legend. You can change this by setting values to this property. [...]
final, inherited
lowValueMapper ChartIndexedValueMapper<num>
Field in the data source, which is considered as low value for the data points. [...]
final, inherited
markerSettings MarkerSettings
Indication of data points. Mark the data point location with symbols for better indication. The shape, color, border, and size of the marker can be customized. [...]
final, inherited
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, inherited
opacity → double
Opacity of the series. The value ranges from 0 to 1. [...]
final, inherited
pointColorMapper ChartIndexedValueMapper<Color>
Field in the data source, which is considered as fill color for the data points. [...]
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
segments → List<ChartSegment>
Gets the Segments collection variable declarations.
final, inherited
selectionSettings SelectionSettings
Customizes the data points or series on selection. [...]
final, inherited
sizeValueMapper ChartIndexedValueMapper<num>
Field in the data source, which is considered as size of the bubble for all the data points. [...]
final, inherited
sortFieldValueMapper ChartIndexedValueMapper
Field in the data source, which is considered for sorting the data points. [...]
final, inherited
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, inherited
spacing → double
Spacing between the columns. The value ranges from 0 to 1. 1 represents 100% and 0 represents 0% of the available space. [...]
final, inherited
trackBorderColor Color
Color of the track border. [...]
final, inherited
trackBorderWidth → double
Width of the track border. [...]
final, inherited
trackColor Color
Color of the track. [...]
final, inherited
trackPadding → double
Padding of the track. [...]
final, inherited
width → double
Width of the series. In line, spline, step line, and fast line series, width of the line will be changed. In column series, width of the column rectangle will be changed. In bar series, the height of the bar rectangle will be changed. [...]
final, inherited
xAxisName → String
Name of the x-axis to bind the series. [...]
final, inherited
xValueMapper ChartIndexedValueMapper<D>
Field in the data source, which is considered as x-value. [...]
final, inherited
yAxisName → String
Name of the y-axis to bind the series. [...]
final, inherited
yValueMapper ChartIndexedValueMapper<num>
Field in the data source, which is considered as y-value. [...]
final, inherited

Methods

createSegment() ChartSegment
To create segment for series
override
createSegments() → void
Creates collection of segments for series
override
customizeSegment(ChartSegment segment) → void
To customize each segments
override
drawDataLabel(int index, Canvas canvas, String dataLabel, double pointX, double pointY, int angle, ChartTextStyle style) → void
To customize each data labels
override
drawDataMarker(int index, Canvas canvas, Paint fillPaint, Paint strokePaint, double pointX double pointY) → void
To customize each data markers
override
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