Commit 21a6e05f authored by Dominic Barnes's avatar Dominic Barnes

correcting typo in function name

parent d3528a7b
...@@ -1012,7 +1012,7 @@ ...@@ -1012,7 +1012,7 @@
} }
function textForArcLabel(d) { function textForArcLabel(d) {
var updated, value, ratio, format; var updated, value, ratio, format;
if (! shouldShowArcLable()) { return ""; } if (! shouldShowArcLabel()) { return ""; }
updated = updateAngle(d); updated = updateAngle(d);
value = updated ? updated.value : null; value = updated ? updated.value : null;
ratio = getArcRatio(updated); ratio = getArcRatio(updated);
...@@ -1047,7 +1047,7 @@ ...@@ -1047,7 +1047,7 @@
svg.selectAll('.' + CLASS.arc) svg.selectAll('.' + CLASS.arc)
.style("opacity", 1); .style("opacity", 1);
} }
function shouldShowArcLable() { function shouldShowArcLabel() {
return hasDonutType(c3.data.targets) ? __donut_label_show : __pie_label_show; return hasDonutType(c3.data.targets) ? __donut_label_show : __pie_label_show;
} }
function getArcLabelFormat() { function getArcLabelFormat() {
......
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