DChartBarO constructor

const DChartBarO({
  1. Key? key,
  2. required List<OrdinalGroup> groupList,
  3. bool animate = false,
  4. ConfigRenderBar configRenderBar = const ConfigRenderBar(),
  5. Duration animationDuration = const Duration(milliseconds: 300),
  6. DomainAxis? domainAxis,
  7. MeasureAxis? measureAxis,
  8. MeasureAxis? secondaryMeasureAxis,
  9. AreaColorO? areaColor,
  10. FillPatternO? fillPattern,
  11. FillColorO? fillColor,
  12. DashPatternO? dashPattern,
  13. String barLabelValue(
    1. OrdinalGroup group,
    2. OrdinalData data,
    3. int? index
    )?,
  14. bool vertical = true,
  15. bool? flipVertical,
  16. LayoutMargin? layoutMargin,
  17. bool allowSliding = false,
  18. void onUpdatedListener(
    1. OrdinalData data
    )?,
  19. void onChangedListener(
    1. OrdinalData data
    )?,
})

Ordinal Bar Chart

Implementation

const DChartBarO({
  super.key,
  required this.groupList,
  this.animate = false,
  this.configRenderBar = const ConfigRenderBar(),
  this.animationDuration = const Duration(milliseconds: 300),
  this.domainAxis,
  this.measureAxis,
  this.secondaryMeasureAxis,
  this.areaColor,
  this.fillPattern,
  this.fillColor,
  this.dashPattern,
  this.barLabelValue,
  this.vertical = true,
  this.flipVertical,
  this.layoutMargin,
  this.allowSliding = false,
  this.onUpdatedListener,
  this.onChangedListener,
});