Commit 5b4639c8 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Show gauge label when value is 0

parent 3746404f
......@@ -1062,7 +1062,7 @@
updated = updateAngle(d);
value = updated ? updated.value : null;
ratio = getArcRatio(updated);
if (! meetsArcLabelThreshold(ratio)) { return ""; }
if (! hasGaugeType(c3.data.targets) && ! meetsArcLabelThreshold(ratio)) { return ""; }
format = getArcLabelFormat();
return format ? format(value, ratio) : defaultArcValueFormat(value, ratio);
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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