ChartAxisConfig constructor

const ChartAxisConfig({
  1. AxisScaleType scaleType = AxisScaleType.linear,
  2. AxisPosition position = AxisPosition.left,
  3. String? label,
  4. double? min,
  5. double? max,
  6. int tickCount = 5,
  7. double logBase = 10,
  8. List<String>? categories,
  9. String tickFormatter(
    1. double value
    )?,
  10. String timeFormatter(
    1. DateTime dt
    )?,
  11. bool showAxisLine = true,
  12. bool showTicks = true,
  13. bool showGrid = true,
  14. bool showLabels = true,
  15. 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,
});