configure method

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

Implementation

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

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