From 24b932660219af79ca429b56fb7f142ec09661a4 Mon Sep 17 00:00:00 2001 From: Roumen Georgiev Date: Thu, 30 Nov 2017 09:57:16 +0200 Subject: [PATCH] Update PointsWithLabelGraphSeries.java --- .../graphExtensions/PointsWithLabelGraphSeries.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphExtensions/PointsWithLabelGraphSeries.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphExtensions/PointsWithLabelGraphSeries.java index 0a1219b192..0ee61d33be 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphExtensions/PointsWithLabelGraphSeries.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphExtensions/PointsWithLabelGraphSeries.java @@ -200,16 +200,7 @@ public class PointsWithLabelGraphSeries e mPaint.setStyle(Paint.Style.FILL); mPaint.setStrokeWidth(0); canvas.drawCircle(endX, endY, value.getSize(), mPaint); - } else if (value.getShape() == Shape.PREDICTION) { - mPaint.setColor(value.getColor()); - mPaint.setStyle(Paint.Style.FILL); - mPaint.setStrokeWidth(0); - canvas.drawCircle(endX, endY, value.getSize(), mPaint); - mPaint.setColor(value.getSecondColor()); - mPaint.setStyle(Paint.Style.FILL); - mPaint.setStrokeWidth(0); - canvas.drawCircle(endX, endY, value.getSize() / 3, mPaint); - } else if (value.getShape() == Shape.RECTANGLE) { + } else if (value.getShape() == Shape.RECTANGLE) { canvas.drawRect(endX-value.getSize(), endY-value.getSize(), endX+value.getSize(), endY+value.getSize(), mPaint); } else if (value.getShape() == Shape.TRIANGLE) { mPaint.setStrokeWidth(0);