@Override public DataSet<BarEntry> copy() { List<BarEntry> entries = new ArrayList<BarEntry>(); for (int i = 0; i < mValues.size(); i++) { entries.add(mValues.get(i).copy()); } BarDataSet copied = new BarDataSet(entries, getLabel()); copy(copied); return copied; }
@Override public DataSet<BarEntry> copy() { List<BarEntry> yVals = new ArrayList<BarEntry>(); yVals.clear(); for (int i = 0; i < mValues.size(); i++) { yVals.add(mValues.get(i).copy()); } BarDataSet copied = new BarDataSet(yVals, getLabel()); copied.mColors = mColors; copied.mStackSize = mStackSize; copied.mBarShadowColor = mBarShadowColor; copied.mStackLabels = mStackLabels; copied.mHighLightColor = mHighLightColor; copied.mHighLightAlpha = mHighLightAlpha; return copied; }
@Override public DataSet<BarEntry> copy() { List<BarEntry> entries = new ArrayList<BarEntry>(); for (int i = 0; i < mValues.size(); i++) { entries.add(mValues.get(i).copy()); } BarDataSet copied = new BarDataSet(entries, getLabel()); copy(copied); return copied; }
@Override public DataSet<BarEntry> copy() { List<BarEntry> yVals = new ArrayList<BarEntry>(); yVals.clear(); for (int i = 0; i < mValues.size(); i++) { yVals.add(mValues.get(i).copy()); } BarDataSet copied = new BarDataSet(yVals, getLabel()); copied.mColors = mColors; copied.mStackSize = mStackSize; copied.mBarShadowColor = mBarShadowColor; copied.mStackLabels = mStackLabels; copied.mHighLightColor = mHighLightColor; copied.mHighLightAlpha = mHighLightAlpha; return copied; }
@Override public DataSet<BarEntry> copy() { List<BarEntry> yVals = new ArrayList<BarEntry>(); yVals.clear(); for (int i = 0; i < mValues.size(); i++) { yVals.add(mValues.get(i).copy()); } BarDataSet copied = new BarDataSet(yVals, getLabel()); copied.mColors = mColors; copied.mStackSize = mStackSize; copied.mBarShadowColor = mBarShadowColor; copied.mStackLabels = mStackLabels; copied.mHighLightColor = mHighLightColor; copied.mHighLightAlpha = mHighLightAlpha; copied.mNeutralColor = mNeutralColor; copied.mIncreasingColor = mIncreasingColor; copied.mDecreasingColor = mDecreasingColor; copied.mIncreasingPaintStyle = mIncreasingPaintStyle; copied.mDecreasingPaintStyle = mDecreasingPaintStyle; return copied; }