Browse Source

Fix data labels

pull/110/head 0.1.25
Masayuki Tanaka 11 years ago
parent
commit
6502fc2d0c
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -1519,7 +1519,7 @@
function hasDataLabel() { function hasDataLabel() {
if (typeof __data_labels === 'boolean' && __data_labels) { if (typeof __data_labels === 'boolean' && __data_labels) {
return true; return true;
} else if (typeof __data_labels === 'object') { } else if (typeof __data_labels === 'object' && notEmpty(__data_labels)) {
return true; return true;
} }
return false; return false;

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save