Call notifyDataChanged for an opportunity for subclasses
This commit is contained in:
parent
34c3ceaa05
commit
8df9eda7af
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue