TrendlineRenderArgs class
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.
getter/setter pair
-
dashArray
↔ List<
double> ? -
Get and set the dash array value of a trendline.
getter/setter pair
-
data
→ List<
CartesianChartPoint> ? -
Get the data points of the trendline.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- intercept → double?
-
Get the intercept value.
final
- opacity ↔ double
-
Get and set the opacity value.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited