DateTimeAxis constructor
DateTimeAxis({
- String? name,
- bool? isVisible,
- AxisTitle? title,
- AxisLine? axisLine,
- ChartRangePadding? rangePadding,
- AxisLabelIntersectAction? labelIntersectAction,
- ChartDataLabelPosition? labelPosition,
- TickPosition? tickPosition,
- EdgeLabelPlacement? edgeLabelPlacement,
- double? zoomFactor,
- double? zoomPosition,
- bool? enableAutoIntervalOnZooming,
- int? labelRotation,
- bool? isInversed,
- bool? opposedPosition,
- int? minorTicksPerInterval,
- int? maximumLabels,
- double? plotOffset,
- MajorTickLines? majorTickLines,
- MinorTickLines? minorTickLines,
- MajorGridLines? majorGridLines,
- MinorGridLines? minorGridLines,
- TextStyle? labelStyle,
- DateFormat? dateFormat,
- DateTimeIntervalType intervalType = DateTimeIntervalType.auto,
- InteractiveTooltip? interactiveTooltip,
- String? labelFormat,
- DateTime? minimum,
- DateTime? maximum,
- LabelAlignment? labelAlignment,
- double? interval,
- DateTime? visibleMinimum,
- DateTime? visibleMaximum,
- dynamic crossesAt,
- String? associatedAxisName,
- bool? placeLabelsNearAxisLine,
- List<
PlotBand> ? plotBands, - RangeController? rangeController,
- int? desiredIntervals,
- double? maximumLabelWidth,
- double? labelsExtent,
- DateTimeIntervalType autoScrollingDeltaType = DateTimeIntervalType.auto,
- int? autoScrollingDelta,
- double? borderWidth,
- Color? borderColor,
- AxisBorderType? axisBorderType,
- MultiLevelLabelStyle? multiLevelLabelStyle,
- MultiLevelLabelFormatterCallback? multiLevelLabelFormatter,
- List<
DateTimeMultiLevelLabel> ? multiLevelLabels, - AutoScrollingMode? autoScrollingMode,
- ChartLabelFormatterCallback? axisLabelFormatter,
Creating an argument constructor of DateTimeAxis class.
Implementation
DateTimeAxis(
{String? name,
bool? isVisible,
AxisTitle? title,
AxisLine? axisLine,
ChartRangePadding? rangePadding,
AxisLabelIntersectAction? labelIntersectAction,
ChartDataLabelPosition? labelPosition,
TickPosition? tickPosition,
EdgeLabelPlacement? edgeLabelPlacement,
double? zoomFactor,
double? zoomPosition,
bool? enableAutoIntervalOnZooming,
int? labelRotation,
bool? isInversed,
bool? opposedPosition,
int? minorTicksPerInterval,
int? maximumLabels,
double? plotOffset,
MajorTickLines? majorTickLines,
MinorTickLines? minorTickLines,
MajorGridLines? majorGridLines,
MinorGridLines? minorGridLines,
TextStyle? labelStyle,
this.dateFormat,
this.intervalType = DateTimeIntervalType.auto,
InteractiveTooltip? interactiveTooltip,
this.labelFormat,
this.minimum,
this.maximum,
LabelAlignment? labelAlignment,
double? interval,
this.visibleMinimum,
this.visibleMaximum,
dynamic crossesAt,
String? associatedAxisName,
bool? placeLabelsNearAxisLine,
List<PlotBand>? plotBands,
RangeController? rangeController,
int? desiredIntervals,
double? maximumLabelWidth,
double? labelsExtent,
this.autoScrollingDeltaType = DateTimeIntervalType.auto,
int? autoScrollingDelta,
double? borderWidth,
Color? borderColor,
AxisBorderType? axisBorderType,
MultiLevelLabelStyle? multiLevelLabelStyle,
MultiLevelLabelFormatterCallback? multiLevelLabelFormatter,
List<DateTimeMultiLevelLabel>? multiLevelLabels,
AutoScrollingMode? autoScrollingMode,
ChartLabelFormatterCallback? axisLabelFormatter})
: super(
name: name,
isVisible: isVisible,
isInversed: isInversed,
opposedPosition: opposedPosition,
rangePadding: rangePadding,
plotOffset: plotOffset,
labelRotation: labelRotation,
labelIntersectAction: labelIntersectAction,
minorTicksPerInterval: minorTicksPerInterval,
maximumLabels: maximumLabels,
labelStyle: labelStyle,
title: title,
labelAlignment: labelAlignment,
axisLine: axisLine,
majorTickLines: majorTickLines,
minorTickLines: minorTickLines,
majorGridLines: majorGridLines,
minorGridLines: minorGridLines,
edgeLabelPlacement: edgeLabelPlacement,
labelPosition: labelPosition,
tickPosition: tickPosition,
zoomFactor: zoomFactor,
zoomPosition: zoomPosition,
enableAutoIntervalOnZooming: enableAutoIntervalOnZooming,
interactiveTooltip: interactiveTooltip,
interval: interval,
crossesAt: crossesAt,
associatedAxisName: associatedAxisName,
placeLabelsNearAxisLine: placeLabelsNearAxisLine,
plotBands: plotBands,
rangeController: rangeController,
desiredIntervals: desiredIntervals,
maximumLabelWidth: maximumLabelWidth,
labelsExtent: labelsExtent,
autoScrollingDelta: autoScrollingDelta,
axisBorderType: axisBorderType,
borderColor: borderColor,
borderWidth: borderWidth,
multiLevelLabelStyle: multiLevelLabelStyle,
multiLevelLabelFormatter: multiLevelLabelFormatter,
multiLevelLabels: multiLevelLabels,
autoScrollingMode: autoScrollingMode,
axisLabelFormatter: axisLabelFormatter);