createDrawStrategy method

  1. @override
TickDrawStrategy<D> createDrawStrategy(
  1. ChartContext context,
  2. 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,
    );