BaseAxis constructor

const BaseAxis({
  1. bool show = true,
  2. String name = '',
  3. AxisType type = AxisType.value,
  4. List<String> categoryList = const [],
  5. TimeSplitType timeSplitType = TimeSplitType.day,
  6. FormatterFun<DateTime>? timeFormatFun,
  7. bool inverse = false,
  8. num min = 0,
  9. num? max,
  10. bool start0 = false,
  11. int splitNumber = 5,
  12. num minInterval = 0,
  13. num? maxInterval,
  14. num? interval,
  15. num logBase = 10,
  16. bool silent = false,
  17. AxisLine axisLine = const AxisLine(),
  18. FormatterFun<num>? formatFun,
  19. Pair<DateTime>? timeRange,
  20. num nameGap = 3,
  21. LabelStyle nameStyle = const LabelStyle(),
  22. Align2 nameAlign = Align2.end,
  23. NiceType niceType = NiceType.n1,
})

Implementation

const BaseAxis({
  this.show = true,
  this.name = '',
  this.type = AxisType.value,
  this.categoryList = const [],
  this.timeSplitType = TimeSplitType.day,
  this.timeFormatFun,
  this.inverse = false,
  this.min = 0,
  this.max,
  this.start0 = false,
  this.splitNumber = 5,
  this.minInterval = 0,
  this.maxInterval,
  this.interval,
  this.logBase = 10,
  this.silent = false,
  this.axisLine = const AxisLine(),
  this.formatFun,
  this.timeRange,
  this.nameGap = 3,
  this.nameStyle = const LabelStyle(),
  this.nameAlign = Align2.end,
  this.niceType = NiceType.n1,
});