DomainAxis constructor
const
DomainAxis({
- bool showLine = true,
- LineStyle lineStyle = const LineStyle(),
- LabelStyle labelStyle = const LabelStyle(),
- int? gapAxisToLabel = 5,
- LabelAnchor labelAnchor = LabelAnchor.centered,
- int tickLength = 3,
- OrdinalViewport? ordinalViewport,
- NumericViewport? numericViewport,
- TimeViewport? timeViewport,
- String tickLabelFormatterN(
- num? domain
- String tickLabelFormatterT(
- DateTime domain
- int minimumPaddingBetweenLabels = 0,
- int labelRotation = 0,
- NumericTickProvider? numericTickProvider,
- bool noRenderSpec = false,
- bool useGridLine = false,
- LineStyle gridLineStyle = const LineStyle(),
- LineStyle tickLineStyle = const LineStyle(),
Implementation
const DomainAxis({
this.showLine = true,
this.lineStyle = const LineStyle(),
this.labelStyle = const LabelStyle(),
this.gapAxisToLabel = 5,
this.labelAnchor = LabelAnchor.centered,
this.tickLength = 3,
this.ordinalViewport,
this.numericViewport,
this.timeViewport,
this.tickLabelFormatterN,
this.tickLabelFormatterT,
this.minimumPaddingBetweenLabels = 0,
this.labelRotation = 0,
this.numericTickProvider,
super.noRenderSpec,
super.useGridLine,
super.gridLineStyle,
super.tickLineStyle,
});