DomainAxis constructor

const DomainAxis({
  1. bool showLine = true,
  2. LineStyle lineStyle = const LineStyle(),
  3. LabelStyle labelStyle = const LabelStyle(),
  4. int? gapAxisToLabel = 5,
  5. LabelAnchor labelAnchor = LabelAnchor.centered,
  6. int tickLength = 3,
  7. OrdinalViewport? ordinalViewport,
  8. NumericViewport? numericViewport,
  9. TimeViewport? timeViewport,
  10. String tickLabelFormatterN(
    1. num? domain
    )?,
  11. String tickLabelFormatterT(
    1. DateTime domain
    )?,
  12. int minimumPaddingBetweenLabels = 0,
  13. int labelRotation = 0,
  14. NumericTickProvider? numericTickProvider,
  15. bool noRenderSpec = false,
  16. bool useGridLine = false,
  17. LineStyle gridLineStyle = const LineStyle(),
  18. 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,
});