From 0a3199481cf8c6fcae816a4ef362df210a92f856 Mon Sep 17 00:00:00 2001 From: Josh Kinlaw Date: Sun, 11 Feb 2018 02:50:25 -0500 Subject: [PATCH] accounts for unfilled 360 gauge (#2282) --- src/arc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arc.js b/src/arc.js index 7b5c16e..c30df2b 100644 --- a/src/arc.js +++ b/src/arc.js @@ -405,7 +405,7 @@ c3_chart_internal_fn.redrawArc = function (duration, durationForExit, withTransf var d = { data: [{value: config.gauge_max}], startAngle: config.gauge_startingAngle, - endAngle: -1 * config.gauge_startingAngle + endAngle: -1 * config.gauge_startingAngle * (config.gauge_fullCircle ? Math.PI : 1) }; return $$.getArc(d, true, true); });