UAreaChart constructor

const UAreaChart({
  1. required List<ChartData> data,
  2. ChartLegendPosition legendPosition = ChartLegendPosition.top,
  3. ChartOverflowMode overflowMode = ChartOverflowMode.wrap,
  4. bool showLegend = true,
  5. bool enableTooltip = true,
  6. double animationDuration = 1000,
  7. double opacity = 0.7,
  8. CategoryAxis xAxis = const CategoryAxis(),
  9. NumericAxis yAxis = const NumericAxis(),
  10. DataLabelSettings dataLabelSettings = const DataLabelSettings(),
  11. 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,
});