Chart.area constructor

Chart.area({
  1. required CellIndex anchor,
  2. required List<ChartSeries> series,
  3. String? categories,
  4. String? title,
  5. ChartGrouping grouping = ChartGrouping.standard,
  6. LegendPosition legend = LegendPosition.right,
  7. int width = 480,
  8. int height = 288,
  9. String? xAxisTitle,
  10. String? yAxisTitle,
  11. bool plotVisibleOnly = true,
  12. CellIndex? anchorTo,
  13. ChartDataLabels? dataLabels,
})

An area chart.

Implementation

factory Chart.area({
  required CellIndex anchor,
  required List<ChartSeries> series,
  String? categories,
  String? title,
  ChartGrouping grouping = ChartGrouping.standard,
  LegendPosition legend = LegendPosition.right,
  int width = 480,
  int height = 288,
  String? xAxisTitle,
  String? yAxisTitle,
  bool plotVisibleOnly = true,
  CellIndex? anchorTo,
  ChartDataLabels? dataLabels,
}) => Chart(
  type: ChartType.area,
  anchor: anchor,
  series: series,
  categories: categories,
  title: title,
  grouping: grouping,
  legend: legend,
  width: width,
  height: height,
  xAxisTitle: xAxisTitle,
  yAxisTitle: yAxisTitle,
  plotVisibleOnly: plotVisibleOnly,
  anchorTo: anchorTo,
  dataLabels: dataLabels,
);