TrendlineRenderer class

Trendline renderer class for mutable fields and methods

Constructors

TrendlineRenderer(Trendline _trendline)
Creates an argument constructor for Trendline renderer class

Properties

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

calculateTrendlinePoints(CartesianSeriesRenderer seriesRenderer, SfCartesianChartState _chartState) → void
To find the actual points of trend line series
getDataPoint(dynamic x, num y, CartesianChartPoint sourcePoint, CartesianSeriesRenderer seriesRenderer, int index) CartesianChartPoint
Defines the data point of trendline
getExponentialPoints(List<CartesianChartPoint> points, dynamic xValues, List<num> yValues, CartesianSeriesRenderer seriesRenderer, _SlopeIntercept slopeInterceptExpo) List<CartesianChartPoint>
Defines Exponential Points
getLinearPoints(List<CartesianChartPoint> points, dynamic xValues, List<num> yValues, CartesianSeriesRenderer seriesRenderer, _SlopeIntercept slopeInterceptLinear) List<CartesianChartPoint>
Defines the linear points
getLogarithmicPoints(List<CartesianChartPoint> points, dynamic xValues, List<num> yValues, CartesianSeriesRenderer seriesRenderer, _SlopeIntercept slopeInterceptLog) List<CartesianChartPoint>
Defines Logarithmic Points
getMovingAveragePoints(List<CartesianChartPoint> points, List xValues, List<num> yValues, CartesianSeriesRenderer seriesRenderer) List<CartesianChartPoint>
Defines moving average points
getPolynomialCurve(List<CartesianChartPoint> points, CartesianSeriesRenderer seriesRenderer, SfCartesianChartState _chartState) List<Offset>
It returns the polynomial points
getPowerPoints(List<CartesianChartPoint> points, dynamic xValues, List<num> yValues, CartesianSeriesRenderer seriesRenderer, _SlopeIntercept slopeInterceptPow) List<CartesianChartPoint>
Defines Power Points
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 ==(Object other) bool
The equality operator. [...]
inherited