diff --git a/graphview/src/main/java/com/broooapps/graphview/CurveGraphView.java b/graphview/src/main/java/com/broooapps/graphview/CurveGraphView.java index acfaf45..5ecf210 100644 --- a/graphview/src/main/java/com/broooapps/graphview/CurveGraphView.java +++ b/graphview/src/main/java/com/broooapps/graphview/CurveGraphView.java @@ -170,7 +170,8 @@ public void setData(int span, int maxVal, GraphData... graphDataArray) { this.graphDataArray = graphDataArray; graphGradientPaintsList.clear(); graphStrokePaintsList.clear(); - + graphPointPaintsList.clear(); + graphPointsList.clear(); pathArrayList = constructPaths(); length = getLengths(); ObjectAnimator ob = ObjectAnimator.ofFloat(this, "phase", 1f, 0f);