MutableSeries<D>.clone constructor

MutableSeries<D>.clone(
  1. MutableSeries<D> other
)

Implementation

MutableSeries.clone(MutableSeries<D> other)
    : id = other.id,
      displayName = other.displayName,
      overlaySeries = other.overlaySeries,
      seriesCategory = other.seriesCategory,
      seriesColor = other.seriesColor,
      seriesIndex = other.seriesIndex,
      data = other.data,
      keyFn = other.keyFn,
      domainFn = other.domainFn,
      domainFormatterFn = other.domainFormatterFn,
      domainLowerBoundFn = other.domainLowerBoundFn,
      domainUpperBoundFn = other.domainUpperBoundFn,
      measureFn = other.measureFn,
      measureFormatterFn = other.measureFormatterFn,
      measureLowerBoundFn = other.measureLowerBoundFn,
      measureUpperBoundFn = other.measureUpperBoundFn,
      measureOffsetFn = other.measureOffsetFn,
      rawMeasureFn = other.rawMeasureFn,
      rawMeasureLowerBoundFn = other.rawMeasureLowerBoundFn,
      rawMeasureUpperBoundFn = other.rawMeasureUpperBoundFn,
      seriesMeasureTotal = other.seriesMeasureTotal,
      areaColorFn = other.areaColorFn,
      colorFn = other.colorFn,
      dashPatternFn = other.dashPatternFn,
      fillColorFn = other.fillColorFn,
      fillPatternFn = other.fillPatternFn,
      patternColorFn = other.patternColorFn,
      labelAccessorFn = other.labelAccessorFn,
      insideLabelStyleAccessorFn = other.insideLabelStyleAccessorFn,
      outsideLabelStyleAccessorFn = other.outsideLabelStyleAccessorFn,
      radiusPxFn = other.radiusPxFn,
      strokeWidthPxFn = other.strokeWidthPxFn,
      measureAxis = other.measureAxis,
      domainAxis = other.domainAxis {
  _attrs.mergeFrom(other._attrs);
}