UAreaChart constructor
const
UAreaChart({
- required List<
ChartData> data, - ChartLegendPosition legendPosition = ChartLegendPosition.top,
- ChartOverflowMode overflowMode = ChartOverflowMode.wrap,
- bool showLegend = true,
- bool enableTooltip = true,
- double animationDuration = 1000,
- double opacity = 0.7,
- CategoryAxis xAxis = const CategoryAxis(),
- NumericAxis yAxis = const NumericAxis(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- Key? key,
Implementation
const UAreaChart({
required this.data,
this.legendPosition = ChartLegendPosition.top,
this.overflowMode = ChartOverflowMode.wrap,
this.showLegend = true,
this.enableTooltip = true,
this.animationDuration = 1000,
this.opacity = 0.7,
this.xAxis = const CategoryAxis(),
this.yAxis = const NumericAxis(),
this.dataLabelSettings = const DataLabelSettings(),
super.key,
});