StepLineSeries<T, D> class

Renders the step line series.

Inheritance

Constructors

StepLineSeries({@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, String xAxisName, String yAxisName, String name, Color color, double width LinearGradient gradient, MarkerSettings markerSettings, EmptyPointSettings emptyPointSettings, DataLabelSettings dataLabelSettings, bool isVisible, bool enableTooltip, List<double> dashArray, double animationDuration SelectionSettings selectionSettings, SortingOrder sortingOrder, bool isVisibleInLegend, LegendIconType legendIconType, String legendItemText, double opacity })

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
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. [...]
final, 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
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
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
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
Creates a segment for a data point in the series.
override
createSegments() → void
Creates a collection of segments for the points in the series.
override
customizeSegment(ChartSegment segment) → void
Changes the series color, border color, and border width.
override
drawDataLabel(int index, Canvas canvas, String dataLabel, double pointX, double pointY, int angle, ChartTextStyle style) → void
Draws data label text of the appropriate data point in a series.
override
drawDataMarker(int index, Canvas canvas, Paint fillPaint, Paint strokePaint, double pointX double pointY) → void
Draws marker with different shape and color of the appropriate data point in the series.
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