NiceDrillDownChart constructor

const NiceDrillDownChart({
  1. Key? key,
  2. required List<NiceDrillDownItem> data,
  3. NiceDrillDownChartType chartType = NiceDrillDownChartType.bar,
  4. double height = 350,
  5. void onDrillDown(
    1. List<String> path,
    2. NiceDrillDownItem item
    )?,
  6. String? title,
  7. bool showBreadcrumb = true,
  8. bool showValues = true,
  9. Duration animationDuration = const Duration(milliseconds: 300),
})

Implementation

const NiceDrillDownChart({
  super.key,
  required this.data,
  this.chartType = NiceDrillDownChartType.bar,
  this.height = 350,
  this.onDrillDown,
  this.title,
  this.showBreadcrumb = true,
  this.showValues = true,
  this.animationDuration = const Duration(milliseconds: 300),
});