AxisGuide<V> constructor

AxisGuide<V>({
  1. Dim? dim,
  2. String? variable,
  3. double? position,
  4. bool? flip,
  5. PaintStyle? line,
  6. TickLine? tickLine,
  7. TickLineMapper? tickLineMapper,
  8. LabelStyle? label,
  9. LabelMapper? labelMapper,
  10. PaintStyle? grid,
  11. GridMapper? gridMapper,
  12. int? layer,
  13. int? gridZIndex,
})

Creates an axis.

Implementation

AxisGuide({
  this.dim,
  this.variable,
  this.position,
  this.flip,
  this.line,
  this.tickLine,
  this.tickLineMapper,
  this.label,
  this.labelMapper,
  this.grid,
  this.gridMapper,
  this.layer,
  this.gridZIndex,
})  : assert(isSingle([tickLine, tickLineMapper], allowNone: true)),
      assert(isSingle([label, labelMapper], allowNone: true)),
      assert(isSingle([grid, gridMapper], allowNone: true));