ChartSeriesData constructor

const ChartSeriesData({
  1. required String label,
  2. required List<ChartData> data,
  3. required Color color,
})

Creates a ChartSeriesData instance with the given label, data, and color.

Implementation

const ChartSeriesData({
  required this.label,
  required this.data,
  required this.color,
});