copy method

  1. @override
void copy(
  1. BaseDataSet<Entry> baseDataSet
)
override

Implementation

@override
void copy(BaseDataSet baseDataSet) {
  super.copy(baseDataSet);
  if (baseDataSet is BarDataSet) {
    var barDataSet = baseDataSet;
    barDataSet._stackSize = _stackSize;
    barDataSet._barShadowColor = _barShadowColor;
    barDataSet._barBorderWidth = _barBorderWidth;
    barDataSet._stackLabels = _stackLabels;
    barDataSet._highLightAlpha = _highLightAlpha;
  }
}