+ var graphWidth = this.dygraph_.width_;
+ var graphHeight = this.dygraph_.height_;
+ var prevXPx = NaN;
+ var prevYPx = NaN;
+ var currXPx = NaN;
+ var currYPx = NaN;
+ var setPointsLength = 0;
+
+ // Ignore the pixel skipping optimization if there are error bars.
+ // XXX 2011-07-25 temporarily disabled (see autotests/tests/selection.js)
+ var skip_opt = (true ||
+ this.attr_("errorBars") ||
+ this.attr_("customBars") ||
+ this.annotations.length > 0);
+