ChartAxisConfig constructor
const
ChartAxisConfig({
- AxisScaleType scaleType = AxisScaleType.linear,
- AxisPosition position = AxisPosition.left,
- String? label,
- double? min,
- double? max,
- int tickCount = 5,
- double logBase = 10,
- List<
String> ? categories, - String tickFormatter(
- double value
- String timeFormatter(
- DateTime dt
- bool showAxisLine = true,
- bool showTicks = true,
- bool showGrid = true,
- bool showLabels = true,
- bool inverted = false,
Implementation
const ChartAxisConfig({
this.scaleType = AxisScaleType.linear,
this.position = AxisPosition.left,
this.label,
this.min,
this.max,
this.tickCount = 5,
this.logBase = 10,
this.categories,
this.tickFormatter,
this.timeFormatter,
this.showAxisLine = true,
this.showTicks = true,
this.showGrid = true,
this.showLabels = true,
this.inverted = false,
});