var setName = this.setNames[setIdx];
var axis = this.dygraph_.axisPropertiesForSeries(setName);
// TODO (konigsberg): use optionsForAxis instead.
- var logscale = this.dygraph_.attributes_.getForSeries("logscale", setIdx);
+ var logscale = this.dygraph_.attributes_.getForSeries("logscale", setName);
// Preallocating the size of points reduces reallocations, and therefore,
// calls to collect garbage.
var setName = this.setNames[setIdx];
var axis = this.dygraph_.axisPropertiesForSeries(setName);
// TODO (konigsberg): use optionsForAxis instead.
- var logscale = this.dygraph_.attributes_.getForSeries("logscale", setIdx);
+ var logscale = this.dygraph_.attributes_.getForSeries("logscale", setName);
for (j = 0; j < dataset.length; j++, i++) {
var item = dataset[j];