series property

List<CartesianSeries> series
final

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;