Call notifyDataChanged for an opportunity for subclasses

This commit is contained in:
Daniel Cohen Gindi 2020-01-22 12:39:03 +02:00
parent 34c3ceaa05
commit 8df9eda7af

View file

@ -399,7 +399,7 @@ public abstract class ChartData<T extends IDataSet<? extends Entry>> {
// if a DataSet was removed
if (removed) {
calcMinMax();
notifyDataChanged();
}
return removed;
@ -526,7 +526,7 @@ public abstract class ChartData<T extends IDataSet<? extends Entry>> {
boolean removed = set.removeEntry(e);
if (removed) {
calcMinMax();
notifyDataChanged();
}
return removed;