Comparing version 0.0.21 to 0.0.22
@@ -68,5 +68,11 @@ /** | ||
attrs.label = attrs.label || attrs.key; | ||
var plots = [].concat(attrs); | ||
this.plots.add(attrs, {merge: true, chart: this} ); | ||
for (var i = plots.length - 1; i >= 0; i--){ | ||
var plot = plots[i]; | ||
plot.label = plot.label || plot.key; | ||
this.plots.add(plot, {merge: true, chart: this} ); | ||
}; | ||
@@ -73,0 +79,0 @@ }, |
{ | ||
"name": "charted", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "Charts an entire collection of data. Single or multiple y-axes. Support for 64-bit integers. Auto-resizing axes.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
625544
18225