ChartAxis<T> constructor

const ChartAxis<T>({
  1. Key? key,
  2. required dynamic scale,
  3. List<T>? tickValues,
  4. int tickCount = 10,
  5. String tickFormat(
    1. T
    )?,
  6. TickConfig tickConfig = const TickConfig(),
  7. AxisLineConfig lineConfig = const AxisLineConfig(),
  8. TextStyle? labelStyle,
  9. required double length,
  10. 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,
});