series property

PyramidSeries series
final

Customizes the chart series.

Widget build(BuildContext context) {
   return Container(
       child: SfPyramidChart(
           series: PyramidSeries<_PyramidData, String>(
                         dataSource: data,
                         xValueMapper: (_PyramidData data, _) => data.xData,
                         yValueMapper: (_PyramidData data, _) => data.yData)
       )
   );
}

Implementation

final PyramidSeries<dynamic, dynamic> series;