Commit 974bd051 authored by David Schnur's avatar David Schnur

Skip entries whose labelFormatter returns null.

parent 2bc87913
...@@ -2126,10 +2126,13 @@ ...@@ -2126,10 +2126,13 @@
for (var i = 0; i < series.length; ++i) { for (var i = 0; i < series.length; ++i) {
s = series[i]; s = series[i];
if (s.label) { if (s.label) {
entries.push({ label = lf ? lf(s.label, s) : s.label;
label: lf ? lf(s.label, s) : s.label, if (label) {
color: s.color entries.push({
}); label: label,
color: s.color
});
}
} }
} }
......
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