ChartSeriesController class

We can redraw the series with updating or creating new points by using this controller. If we need to access the redrawing methods in this before we must get the ChartSeriesController onRendererCreated event.

Constructors

ChartSeriesController(XyDataSeriesRenderer seriesRenderer)
Creating an argument constructor of ChartSeriesController class.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seriesRenderer XyDataSeriesRenderer
Used to access the series properties.
final

Methods

animate() → void
If you wish to perform initial animation again in the existing series, this method can be called. On calling this method, this particular series will be animated again based on the animationDuration property's value in the series. If the value is 0, then the animation will not be performed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pixelToPoint(Offset position) CartesianChartPoint
Converts logical pixel value to the data point value.
pointToPixel(CartesianChartPoint point) Offset
Converts chart data point value to logical pixel value.
toString() String
A string representation of this object.
inherited
updateDataSource({List<int>? addedDataIndexes, List<int>? removedDataIndexes, List<int>? updatedDataIndexes, int? addedDataIndex, int? removedDataIndex, int? updatedDataIndex}) → void
Used to process only the newly added, updated and removed data points in a series, instead of processing all the data points.

Operators

operator ==(Object other) bool
The equality operator.
inherited