backwardForecast property

double backwardForecast
final

Specifies the backward forecasting of trendlines.

Defaults to 0.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <CartesianSeries<ChartData,String>>[
      LineSeries<ChartData,String>(
        trendlines: <TrendLine>[
          Trendline(backwardForecast: 3)
        ]
      )
    ]
  );
}

Implementation

final double backwardForecast;