createDrawStrategy method

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