createDrawStrategy method
TickDrawStrategy<D>
createDrawStrategy(
- ChartContext context,
- GraphicsFactory graphicsFactory
override
Implementation
@override
TickDrawStrategy<D> createDrawStrategy(
ChartContext context,
GraphicsFactory graphicsFactory,
) =>
GridlineTickDrawStrategy<D>(
context,
graphicsFactory,
tickLengthPx: tickLengthPx,
lineStyleSpec: lineStyle,
labelStyleSpec: labelStyle,
axisLineStyleSpec: axisLineStyle,
labelAnchor: labelAnchor,
labelJustification: labelJustification,
labelOffsetFromAxisPx: labelOffsetFromAxisPx,
labelCollisionOffsetFromAxisPx: labelCollisionOffsetFromAxisPx,
labelOffsetFromTickPx: labelOffsetFromTickPx,
labelCollisionOffsetFromTickPx: labelCollisionOffsetFromTickPx,
minimumPaddingBetweenLabelsPx: minimumPaddingBetweenLabelsPx,
labelRotation: labelRotation,
labelCollisionRotation: labelCollisionRotation,
);