summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/widget/DataUsageChartView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/widget/DataUsageChartView.java')
-rw-r--r--src/com/android/settings/widget/DataUsageChartView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/settings/widget/DataUsageChartView.java b/src/com/android/settings/widget/DataUsageChartView.java
index 9dbffcd..6c62fa8 100644
--- a/src/com/android/settings/widget/DataUsageChartView.java
+++ b/src/com/android/settings/widget/DataUsageChartView.java
@@ -127,6 +127,8 @@ public class DataUsageChartView extends ChartView {
} else {
mSweepDataWarn.setVisibility(View.INVISIBLE);
}
+
+ requestLayout();
}
private OnSweepListener mSweepListener = new OnSweepListener() {
@@ -195,6 +197,7 @@ public class DataUsageChartView extends ChartView {
requestLayout();
mSeries.generatePath();
+ mSeries.invalidate();
}
public static class TimeAxis implements ChartAxis {