RangeTickRendererSpec<D> constructor

RangeTickRendererSpec<D>({
  1. TextStyleSpec? labelStyle,
  2. LineStyleSpec? lineStyle,
  3. TickLabelAnchor? labelAnchor,
  4. TickLabelJustification? labelJustification,
  5. int? labelOffsetFromAxisPx,
  6. int? labelCollisionOffsetFromAxisPx,
  7. int? labelOffsetFromTickPx,
  8. int? labelCollisionOffsetFromTickPx,
  9. int? rangeShadeHeightPx,
  10. int? rangeShadeOffsetFromAxisPx,
  11. LineStyleSpec? rangeShadeStyle,
  12. int? rangeTickLengthPx,
  13. int? rangeTickOffsetPx,
  14. TextStyleSpec? rangeLabelStyle,
  15. int? tickLengthPx,
  16. int? minimumPaddingBetweenLabelsPx,
  17. int? labelRotation,
  18. int? labelCollisionRotation,
})

Implementation

RangeTickRendererSpec({
  super.labelStyle,
  LineStyleSpec? lineStyle,
  super.labelAnchor,
  super.labelJustification,
  int? labelOffsetFromAxisPx,
  super.labelCollisionOffsetFromAxisPx,
  int? labelOffsetFromTickPx,
  super.labelCollisionOffsetFromTickPx,
  this.rangeShadeHeightPx,
  this.rangeShadeOffsetFromAxisPx,
  this.rangeShadeStyle,
  this.rangeTickLengthPx,
  this.rangeTickOffsetPx,
  this.rangeLabelStyle,
  super.tickLengthPx,
  super.minimumPaddingBetweenLabelsPx,
  super.labelRotation,
  super.labelCollisionRotation,
})  : defaultLabelStyleSpec =
          TextStyleSpec(fontSize: 9, color: StyleFactory.style.tickColor),
      super(
        axisLineStyle: lineStyle,
        labelOffsetFromAxisPx:
            labelOffsetFromAxisPx ?? defaultLabelOffsetFromAxis,
        labelOffsetFromTickPx:
            labelOffsetFromTickPx ?? defaultLabelOffsetFromTick,
      );