Browse Source

correcting typo in function name

pull/273/head
Dominic Barnes 11 years ago
parent
commit
21a6e05ff6
  1. 4
      c3.js

4
c3.js

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

Loading…
Cancel
Save