- // TODO(danvk): is this copy really necessary?
- var series = rolledSeries[i]; // [];
- // for (j = 0; j < rolledSeries[i].length; j++) {
- // series.push(rolledSeries[i][j]);
- // }
+ // Note: this copy _is_ necessary at the moment.
+ // If you remove it, it breaks zooming with error bars on.
+ // TODO(danvk): investigate further & write a test for this.
+ var series = [];
+ for (j = 0; j < rolledSeries[i].length; j++) {
+ series.push(rolledSeries[i][j]);
+ }