I just noticed that if you pass in data where some values are null, geometry in line 154 of bars.js will also be null, leading to an exception. Reason for passing in null data is that for line graphs for instance, you need null data to make the lines disconnect (even the examples show this), and I use bar and line interchangibly with the same data.
A simple fix is to perform a test for geometry !== null before proceeding, which seems to work fine.
Hi,
I just noticed that if you pass in data where some values are null, geometry in line 154 of bars.js will also be null, leading to an exception. Reason for passing in null data is that for line graphs for instance, you need null data to make the lines disconnect (even the examples show this), and I use bar and line interchangibly with the same data.
A simple fix is to perform a test for geometry !== null before proceeding, which seems to work fine.
https://github.com/HumbleSoftware/Flotr2/blob/master/js/types/bars.js#L154