makeSeries method

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

Implementation

@override
MutableSeries<D> makeSeries(Series<dynamic, D> series) {
  final s = super.makeSeries(series)
    ..measureOffsetFn ??= ((_) => 0)

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

  return s;
}