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;