HumbleSoftware/envisionjs — pull request #16 by svieujot (2012-08-24 20:38:36+00:00)
Title: Add initial candles adapter.

Note : This patch assumes the candles data are also stored in options.quotes as JSON objects.

Also the dataset has an extra array :
data[0] = x // either the date or an index.
data[1] = y // I use the close
data[2] = {o:..., h:..., l:..., c: ...., v:....., d:....} // JSON for the full candle info : open, high, low, close, volume, date

This might probably need to be changed.
I did it this way to avoid changes to the envision core.