GridAxis constructor
const
GridAxis({
- bool alignTicks = false,
- Align2 position = Align2.end,
- double offset = 0,
- MainTick axisTick = const MainTick(),
- MinorTick minorTick = const MinorTick(),
- AxisLabel axisLabel = const AxisLabel(),
- SplitLine splitLine = const SplitLine(),
- MinorSplitLine minorSplitLine = const MinorSplitLine(),
- SplitArea splitArea = const SplitArea(),
- AxisPointer axisPointer = const AxisPointer(),
- bool show = true,
- String name = '',
- AxisType type = AxisType.value,
- num min = 0,
- num? max,
- int splitNumber = 5,
- bool start0 = false,
- num logBase = 10,
- num? interval,
- num? maxInterval,
- num minInterval = 0,
- bool inverse = false,
- List<
String> categoryList = const [], - Pair<
DateTime> ? timeRange, - TimeSplitType timeSplitType = TimeSplitType.day,
- bool silent = false,
- AxisLine axisLine = const AxisLine(),
- FormatterFun<
num> ? formatFun, - Align2 nameAlign = Align2.end,
- num nameGap = 3,
- LabelStyle nameStyle = const LabelStyle(),
Implementation
const GridAxis({
this.alignTicks = false,
this.position = Align2.end,
this.offset = 0,
this.axisTick = const MainTick(),
this.minorTick = const MinorTick(),
this.axisLabel = const AxisLabel(),
this.splitLine = const SplitLine(),
this.minorSplitLine = const MinorSplitLine(),
this.splitArea = const SplitArea(),
this.axisPointer = const AxisPointer(),
super.show,
super.name,
super.type,
super.min,
super.max,
super.splitNumber,
super.start0,
super.logBase,
super.interval,
super.maxInterval,
super.minInterval,
super.inverse,
super.categoryList,
super.timeRange,
super.timeSplitType,
super.silent,
super.axisLine,
super.formatFun,
super.nameAlign,
super.nameGap,
super.nameStyle,
});