CategoryAxis constructor

CategoryAxis({
  1. String? name,
  2. bool? isVisible,
  3. AxisTitle? title,
  4. AxisLine? axisLine,
  5. bool arrangeByIndex = false,
  6. ChartRangePadding? rangePadding,
  7. LabelPlacement labelPlacement = LabelPlacement.betweenTicks,
  8. EdgeLabelPlacement? edgeLabelPlacement,
  9. ChartDataLabelPosition? labelPosition,
  10. TickPosition? tickPosition,
  11. int? labelRotation,
  12. AxisLabelIntersectAction? labelIntersectAction,
  13. LabelAlignment? labelAlignment,
  14. bool? isInversed,
  15. bool? opposedPosition,
  16. int? minorTicksPerInterval,
  17. int? maximumLabels,
  18. MajorTickLines? majorTickLines,
  19. MinorTickLines? minorTickLines,
  20. MajorGridLines? majorGridLines,
  21. MinorGridLines? minorGridLines,
  22. TextStyle? labelStyle,
  23. double? plotOffset,
  24. double? zoomFactor,
  25. double? zoomPosition,
  26. InteractiveTooltip? interactiveTooltip,
  27. double? minimum,
  28. double? maximum,
  29. double? interval,
  30. double? visibleMinimum,
  31. double? visibleMaximum,
  32. dynamic crossesAt,
  33. String? associatedAxisName,
  34. bool? placeLabelsNearAxisLine,
  35. List<PlotBand>? plotBands,
  36. int? desiredIntervals,
  37. RangeController? rangeController,
  38. double? maximumLabelWidth,
  39. double? labelsExtent,
  40. int? autoScrollingDelta,
  41. double? borderWidth,
  42. Color? borderColor,
  43. AxisBorderType? axisBorderType,
  44. MultiLevelLabelFormatterCallback? multiLevelLabelFormatter,
  45. MultiLevelLabelStyle? multiLevelLabelStyle,
  46. List<CategoricalMultiLevelLabel>? multiLevelLabels,
  47. AutoScrollingMode? autoScrollingMode,
  48. ChartLabelFormatterCallback? axisLabelFormatter,
})

Creating an argument constructor of CategoryAxis class.

Implementation

CategoryAxis(
    {String? name,
    bool? isVisible,
    AxisTitle? title,
    AxisLine? axisLine,
    this.arrangeByIndex = false,
    ChartRangePadding? rangePadding,
    this.labelPlacement = LabelPlacement.betweenTicks,
    EdgeLabelPlacement? edgeLabelPlacement,
    ChartDataLabelPosition? labelPosition,
    TickPosition? tickPosition,
    int? labelRotation,
    AxisLabelIntersectAction? labelIntersectAction,
    LabelAlignment? labelAlignment,
    bool? isInversed,
    bool? opposedPosition,
    int? minorTicksPerInterval,
    int? maximumLabels,
    MajorTickLines? majorTickLines,
    MinorTickLines? minorTickLines,
    MajorGridLines? majorGridLines,
    MinorGridLines? minorGridLines,
    TextStyle? labelStyle,
    double? plotOffset,
    double? zoomFactor,
    double? zoomPosition,
    InteractiveTooltip? interactiveTooltip,
    this.minimum,
    this.maximum,
    double? interval,
    this.visibleMinimum,
    this.visibleMaximum,
    dynamic crossesAt,
    String? associatedAxisName,
    bool? placeLabelsNearAxisLine,
    List<PlotBand>? plotBands,
    int? desiredIntervals,
    RangeController? rangeController,
    double? maximumLabelWidth,
    double? labelsExtent,
    int? autoScrollingDelta,
    double? borderWidth,
    Color? borderColor,
    AxisBorderType? axisBorderType,
    MultiLevelLabelFormatterCallback? multiLevelLabelFormatter,
    MultiLevelLabelStyle? multiLevelLabelStyle,
    List<CategoricalMultiLevelLabel>? multiLevelLabels,
    AutoScrollingMode? autoScrollingMode,
    ChartLabelFormatterCallback? axisLabelFormatter})
    : super(
          name: name,
          isVisible: isVisible,
          isInversed: isInversed,
          plotOffset: plotOffset,
          rangePadding: rangePadding,
          opposedPosition: opposedPosition,
          edgeLabelPlacement: edgeLabelPlacement,
          labelRotation: labelRotation,
          labelPosition: labelPosition,
          tickPosition: tickPosition,
          labelIntersectAction: labelIntersectAction,
          minorTicksPerInterval: minorTicksPerInterval,
          maximumLabels: maximumLabels,
          labelAlignment: labelAlignment,
          labelStyle: labelStyle,
          title: title,
          axisLine: axisLine,
          majorTickLines: majorTickLines,
          minorTickLines: minorTickLines,
          majorGridLines: majorGridLines,
          minorGridLines: minorGridLines,
          zoomFactor: zoomFactor,
          zoomPosition: zoomPosition,
          interactiveTooltip: interactiveTooltip,
          interval: interval,
          crossesAt: crossesAt,
          associatedAxisName: associatedAxisName,
          placeLabelsNearAxisLine: placeLabelsNearAxisLine,
          plotBands: plotBands,
          desiredIntervals: desiredIntervals,
          rangeController: rangeController,
          maximumLabelWidth: maximumLabelWidth,
          labelsExtent: labelsExtent,
          autoScrollingDelta: autoScrollingDelta,
          axisBorderType: axisBorderType,
          borderColor: borderColor,
          borderWidth: borderWidth,
          multiLevelLabelStyle: multiLevelLabelStyle,
          multiLevelLabels: multiLevelLabels,
          multiLevelLabelFormatter: multiLevelLabelFormatter,
          autoScrollingMode: autoScrollingMode,
          axisLabelFormatter: axisLabelFormatter);