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(
{TextStyleSpec? labelStyle,
LineStyleSpec? lineStyle,
TickLabelAnchor? labelAnchor,
TickLabelJustification? labelJustification,
int? labelOffsetFromAxisPx,
int? labelCollisionOffsetFromAxisPx,
int? labelOffsetFromTickPx,
int? labelCollisionOffsetFromTickPx,
this.rangeShadeHeightPx,
this.rangeShadeOffsetFromAxisPx,
this.rangeShadeStyle,
this.rangeTickLengthPx,
this.rangeTickOffsetPx,
this.rangeLabelStyle,
int? tickLengthPx,
int? minimumPaddingBetweenLabelsPx,
int? labelRotation,
int? labelCollisionRotation})
: defaultLabelStyleSpec =
TextStyleSpec(fontSize: 9, color: StyleFactory.style.tickColor),
super(
axisLineStyle: lineStyle,
labelStyle: labelStyle,
labelAnchor: labelAnchor,
labelJustification: labelJustification,
labelOffsetFromAxisPx:
labelOffsetFromAxisPx ?? defaultLabelOffsetFromAxis,
labelCollisionOffsetFromAxisPx: labelCollisionOffsetFromAxisPx,
labelOffsetFromTickPx:
labelOffsetFromTickPx ?? defaultLabelOffsetFromTick,
labelCollisionOffsetFromTickPx: labelCollisionOffsetFromTickPx,
tickLengthPx: tickLengthPx,
minimumPaddingBetweenLabelsPx: minimumPaddingBetweenLabelsPx,
labelRotation: labelRotation,
labelCollisionRotation: labelCollisionRotation,
);