makeSeries method

  1. @override
MutableSeries<D> makeSeries(
  1. Series<dynamic, D> series
)
override

Implementation

@override
MutableSeries<D> makeSeries(Series<dynamic, D> series) {
  final s = super.makeSeries(series);

  s.measureOffsetFn ??= (_) => 0;

  // Setup the Axes
  s.setAttr(domainAxisKey, domainAxis);
  s.setAttr(measureAxisKey,
      getMeasureAxis(axisId: series.getAttribute(measureAxisIdKey)));

  return s;
}