ContinuousScale<V> constructor

ContinuousScale<V>({
  1. V? min,
  2. V? max,
  3. double? marginMin,
  4. double? marginMax,
  5. bool? niceRange,
  6. String? title,
  7. String? formatter(
    1. V
    )?,
  8. List<V>? ticks,
  9. int? tickCount,
})

Creates a continuous scale.

Implementation

ContinuousScale({
  this.min,
  this.max,
  this.marginMin,
  this.marginMax,
  this.niceRange,
  String? title,
  String? Function(V)? formatter,
  List<V>? ticks,
  int? tickCount,
})  : assert(isSingle([min, marginMin], allowNone: true)),
      assert(isSingle([max, marginMax], allowNone: true)),
      super(
        title: title,
        formatter: formatter,
        ticks: ticks,
        tickCount: tickCount,
      );