philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

AreaChart bug in updateJSON #41

Closed jwiik closed 14 years ago

jwiik commented 14 years ago

This happens both on the AreaChart demo at thejit.org ( http://thejit.org/static/v20/Jit/Examples/AreaChart/example1.html , click the update data button) and in all other cases I have tested.

When using updateJSON to update data the last data point always gets the values of the second to last data point.

philogb commented 14 years ago

Thanks for pointing it out, I'll try to fix this ASAP.

philogb commented 14 years ago

Thanks again, I already pushed the fix in the repo:

https://github.com/philogb/jit/commit/c3bc83d5b5d7d20ddaf96a28b1812ec423b0f892