From 6c394034f6e41ce8b3b99b15c7d8587af5d4c0a3 Mon Sep 17 00:00:00 2001 From: Swapnil Tiwari Date: Sat, 21 Mar 2020 23:08:23 +0530 Subject: [PATCH] bugfix --- .../src/main/java/com/broooapps/graphview/CurveGraphView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);