RangeTickRendererSpec<D> constructor
RangeTickRendererSpec<D> ({
- TextStyleSpec? labelStyle,
- LineStyleSpec? lineStyle,
- TickLabelAnchor? labelAnchor,
- TickLabelJustification? labelJustification,
- int? labelOffsetFromAxisPx,
- int? labelCollisionOffsetFromAxisPx,
- int? labelOffsetFromTickPx,
- int? labelCollisionOffsetFromTickPx,
- int? rangeShadeHeightPx,
- int? rangeShadeOffsetFromAxisPx,
- LineStyleSpec? rangeShadeStyle,
- int? rangeTickLengthPx,
- int? rangeTickOffsetPx,
- TextStyleSpec? rangeLabelStyle,
- int? tickLengthPx,
- int? minimumPaddingBetweenLabelsPx,
- int? labelRotation,
- 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,
);