TrendlineRenderArgs class Null safety
Holds the arguments for the event onTrendlineRender.
Event is triggered when the trend line is rendered, trendline arguments such as opacity, color, and dashArray can be customized.
Constructors
-
TrendlineRenderArgs([double? intercept, int? trendlineIndex, int? seriesIndex, String? trendlineName, String? seriesName, List<
CartesianChartPoint> ? data]) - Creating an argument constructor of TrendlineRenderArgs class.
Properties
- color ↔ Color
-
Get and set the color of the trendline.
read / write
-
dashArray
↔ List<
double> ? -
Get and set the dash array value of a trendline.
read / write
-
data
→ List<
CartesianChartPoint> ? -
Get the data points of the trendline.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- intercept → double?
-
Get the intercept value.
final
- opacity ↔ double
-
Get and set the opacity value.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- seriesIndex → int?
-
Get the index of the series.
final
- seriesName → String?
-
Get the name of the series.
final
- trendlineIndex → int?
-
Get the index of the trendline.
final
- trendlineName → String?
-
Get the name of the trendline.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited