AreaChart constructor
const
AreaChart({
- Key? key,
- required List<
AreaChartSeries> series, - required List xAxis,
- String? title,
- TextStyle? titleStyle,
- double xAxisMargin = 30,
- double yAxisMargin = 30,
- String tooltipBuilder(
- AreaChartSeries serie,
- AreaChartData data
- TextStyle? xAxisLabelStyle,
- String xAxisLabelFormatter(
- dynamic label
- TextStyle? yAxisLabelStyle,
- String yAxisLabelFormatter(
- double value
- LegendPosition? legendPosition = LegendPosition.bottom,
Implementation
const AreaChart({
super.key,
required this.series,
required this.xAxis,
this.title,
this.titleStyle,
this.xAxisMargin = 30,
this.yAxisMargin = 30,
this.tooltipBuilder,
this.xAxisLabelStyle,
this.xAxisLabelFormatter,
this.yAxisLabelStyle,
this.yAxisLabelFormatter,
this.legendPosition = LegendPosition.bottom,
});