Browse Source

accounts for unfilled 360 gauge (#2282)

pull/2292/head
Josh Kinlaw 7 years ago committed by Yoshiya Hinosawa
parent
commit
0a3199481c
  1. 2
      src/arc.js

2
src/arc.js

@ -405,7 +405,7 @@ c3_chart_internal_fn.redrawArc = function (duration, durationForExit, withTransf
var d = { var d = {
data: [{value: config.gauge_max}], data: [{value: config.gauge_max}],
startAngle: config.gauge_startingAngle, 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); return $$.getArc(d, true, true);
}); });

Loading…
Cancel
Save