configure method

  1. @override
void configure(
  1. Axis<String> axis,
  2. ChartContext context,
  3. GraphicsFactory graphicsFactory
)
override

Implementation

@override
void configure(Axis<String> axis, ChartContext context,
    GraphicsFactory graphicsFactory) {
  super.configure(axis, context, graphicsFactory);

  if (axis is OrdinalAxis && viewport != null) {
    axis.setScaleViewport(viewport!);
  }
}