ChartAxis<T> constructor
const
ChartAxis<T> ({
- Key? key,
- required dynamic scale,
- List<
T> ? tickValues, - int tickCount = 10,
- String tickFormat(
- T
- TickConfig tickConfig = const TickConfig(),
- AxisLineConfig lineConfig = const AxisLineConfig(),
- TextStyle? labelStyle,
- required double length,
- double labelRotation = 0,
Creates an axis.
Implementation
const ChartAxis({
super.key,
required this.scale,
this.tickValues,
this.tickCount = 10,
this.tickFormat,
this.tickConfig = const TickConfig(),
this.lineConfig = const AxisLineConfig(),
this.labelStyle,
required this.length,
this.labelRotation = 0,
});