CategoryAxis constructor
CategoryAxis({
- String? name,
- bool? isVisible,
- AxisTitle? title,
- AxisLine? axisLine,
- bool arrangeByIndex = false,
- ChartRangePadding? rangePadding,
- LabelPlacement 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,
- double? minimum,
- double? maximum,
- double? interval,
- double? visibleMinimum,
- double? 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,
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);