BaseAxis constructor
const
BaseAxis({
- bool show = true,
- String name = '',
- AxisType type = AxisType.value,
- List<
String> categoryList = const [], - TimeSplitType timeSplitType = TimeSplitType.day,
- FormatterFun<
DateTime> ? timeFormatFun, - bool inverse = false,
- num min = 0,
- num? max,
- bool start0 = false,
- int splitNumber = 5,
- num minInterval = 0,
- num? maxInterval,
- num? interval,
- num logBase = 10,
- bool silent = false,
- AxisLine axisLine = const AxisLine(),
- FormatterFun<
num> ? formatFun, - Pair<
DateTime> ? timeRange, - num nameGap = 3,
- LabelStyle nameStyle = const LabelStyle(),
- Align2 nameAlign = Align2.end,
- 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,
});