FunnelSeries constructor

FunnelSeries(
  1. List<FunnelData> dataList, {
  2. FunnelAlign labelAlign = FunnelAlign.center,
  3. double? maxValue,
  4. Direction direction = Direction.vertical,
  5. Sort sort = Sort.empty,
  6. double gap = 2,
  7. Align2 align = Align2.center,
  8. StyleFun<FunnelData, LabelStyle>? labelStyleFun,
  9. StyleFun<FunnelData, LineStyle>? labelLineStyleFun,
  10. required StyleFun<FunnelData, AreaStyle> areaStyleFun,
  11. SNumber leftMargin = SNumber.zero,
  12. SNumber topMargin = SNumber.zero,
  13. SNumber rightMargin = SNumber.zero,
  14. SNumber bottomMargin = SNumber.zero,
  15. SNumber? width,
  16. SNumber? height,
  17. AnimatorProps? animation,
  18. bool touch = true,
  19. bool clip = true,
  20. ToolTip? tooltip,
  21. int z = 0,
})

Implementation

FunnelSeries(
  this.dataList, {
  this.labelAlign = FunnelAlign.center,
  this.maxValue,
  this.direction = Direction.vertical,
  this.sort = Sort.empty,
  this.gap = 2,
  this.align = Align2.center,
  this.labelStyleFun,
  this.labelLineStyleFun,
  required this.areaStyleFun,
  super.leftMargin,
  super.topMargin,
  super.rightMargin,
  super.bottomMargin,
  super.width,
  super.height,
  super.animation,
  super.touch,
  super.clip,
  super.tooltip,
  super.z,
}) : super(
        coordSystem: null,
        calendarIndex: -1,
        parallelIndex: -1,
        polarAxisIndex: -1,
        radarIndex: -1,
        xAxisIndex: -1,
        yAxisIndex: -1,
      );