series property
Customizes the series in chart.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <CartesianSeries<SalesData, num>>[
AreaSeries<SalesData, num>(
dataSource: chartData,
),
],
)
);
}
Implementation
final List<CartesianSeries> series;