danvk/dygraphs — pull request #164 by wimme (2012-08-13 20:55:03+00:00)
Title: Stepplot and errorbars sync fix

The 1st error bar wasn't been drawn on stepplots, instead the script started with drawing the horizontal line of the 2nd error bar which was then shown under the 1st value, the 3rd error bar was drawn under the 2nd value, etc, what resulted in an incorrect graph.

Demo:

Without the fix:
http://wimme.net/temp/dygraphs1/index.htm
http://wimme.net/temp/dygraphs1/weather.htm
Notice how the error bars and the line charts are not in sync, the error bar is one value ahead

With the fix:
http://wimme.net/temp/dygraphs2/
http://wimme.net/temp/dygraphs2/weather.htm
Here are the error bars and the line charts nicely in sync, the way it should be.

(I've submitted this one before here https://github.com/danvk/dygraphs/pull/122 - my apologizes for replying so late)