misoproject / dataset

JavaScript library that makes managing the data behind client-side visualisations easy
http://misoproject.com
GNU General Public License v2.0
1.18k stars 99 forks source link

Google Spreadsheet null data if rows < headers #118

Closed jzevin closed 12 years ago

jzevin commented 12 years ago

First off thanks so much for creating this!

I might be completely off here but I've been playing with using google spreadsheets as my source and I have found that it works awesome except if my rows are less than the amount of headers. I might be doing something complete wrong so I'm not absolutely sure this is even an issue.

example

header1 header2 header3 data data data data data data data data data

everything will be cool as long as I have 3 or more rows. If I have less I get null values in n columns.

alexgraul commented 12 years ago

You did indeed find a bug! We have fixed said bug in da87507455a81e5a3e37ef8b24fa75d1b97b7cf2, we'll push a new version next week but if you need a fix in the meantime pull down the repo and do a build.