Skip to content

Commit

Permalink
Fix data labels
Browse files Browse the repository at this point in the history
  • Loading branch information
masayuki0812 committed Apr 1, 2014
1 parent e00658c commit 6502fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c3.js
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@
function hasDataLabel() {
if (typeof __data_labels === 'boolean' && __data_labels) {
return true;
} else if (typeof __data_labels === 'object') {
} else if (typeof __data_labels === 'object' && notEmpty(__data_labels)) {
return true;
}
return false;
Expand Down
Loading

0 comments on commit 6502fc2

Please sign in to comment.