Chart.area constructor
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,
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,
);