forwardForecast property
Specifies the forward forecasting of trendlines.
Defaults to 0
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <CartesianSeries<ChartData,String>>[
LineSeries<ChartData,String>(
trendlines: <TrendLine>[
Trendline(forwardForecast: 3)
]
)
]
);
}
Implementation
final double forwardForecast;