DChartComboO constructor

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

Ordinal Combo Chart
also can use for single other type but cannot be set horizontal measure

  • only bar
  • only line
  • only scatter plot

Implementation

const DChartComboO({
  super.key,
  required this.groupList,
  this.animate = false,
  this.configRenderLine = const ConfigRenderLine(),
  this.configRenderBar = const ConfigRenderBar(),
  this.configRenderPoint = const ConfigRenderPoint(),
  this.animationDuration = const Duration(milliseconds: 300),
  this.domainAxis,
  this.measureAxis,
  this.secondaryMeasureAxis,
  this.areaColor,
  this.fillPattern,
  this.fillColor,
  this.dashPattern,
  this.barLabelValue,
  this.layoutMargin,
  this.allowSliding = false,
  this.onUpdatedListener,
  this.onChangedListener,
});