Commit 8b7e640e authored by Evgeny's avatar Evgeny

Fix bug with updateAngle

parent ff89fcfe
......@@ -5090,6 +5090,9 @@
found = false, index = 0,
gMin = config.gauge_min, gMax = config.gauge_max, gTic, gValue;
$$.pie($$.filterTargetsToShow($$.data.targets)).forEach(function (t) {
if(!t || !d){
return;
}
if (! found && t.data.id === d.data.id) {
found = true;
d = t;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -31,6 +31,9 @@ c3_chart_internal_fn.updateAngle = function (d) {
found = false, index = 0,
gMin = config.gauge_min, gMax = config.gauge_max, gTic, gValue;
$$.pie($$.filterTargetsToShow($$.data.targets)).forEach(function (t) {
if(!t || !d){
return;
}
if (! found && t.data.id === d.data.id) {
found = true;
d = t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment