Commit 6502fc2d authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix data labels

parent e00658ca
...@@ -1519,7 +1519,7 @@ ...@@ -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;
......
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