createDrawStrategy method
TickDrawStrategy<D>
createDrawStrategy(
- ChartContext context,
- GraphicsFactory graphicsFactory
override
Implementation
@override
TickDrawStrategy<D> createDrawStrategy(
ChartContext context,
GraphicsFactory graphicsFactory,
) =>
RangeTickDrawStrategy<D>(
context,
graphicsFactory,
tickLength: tickLengthPx,
rangeLabelTextStyleSpec: rangeLabelStyle,
rangeTickLength: rangeTickLengthPx,
rangeShadeHeight: rangeShadeHeightPx,
rangeShadeOffsetFromAxis: rangeShadeOffsetFromAxisPx,
rangeTickOffset: rangeTickOffsetPx,
lineStyleSpec: lineStyle,
labelStyleSpec: labelStyle ?? defaultLabelStyleSpec,
axisLineStyleSpec: axisLineStyle,
rangeShadeStyleSpec: rangeShadeStyle,
labelAnchor: labelAnchor,
labelJustification: labelJustification,
labelOffsetFromAxisPx: labelOffsetFromAxisPx,
labelCollisionOffsetFromAxisPx: labelCollisionOffsetFromAxisPx,
labelOffsetFromTickPx: labelOffsetFromTickPx,
labelCollisionOffsetFromTickPx: labelCollisionOffsetFromTickPx,
minimumPaddingBetweenLabelsPx: minimumPaddingBetweenLabelsPx,
labelRotation: labelRotation,
labelCollisionRotation: labelCollisionRotation,
);