Show HN: Create Javascript charts with one line of Ruby
11–20 of 64 posts
Re: Show HN: Create Javascript charts with one line of Ruby
#12I'm kind of confused about the "group_by_day" type methods... where do those come from? I guess the app has to code them?
Re: Show HN: Create Javascript charts with one line of Ruby
#13Re: Show HN: Create Javascript charts with one line of Ruby
#14I'm kind of confused about the "group_by_day" type methods... where do those come from? I guess the app has to code them?
Re: Show HN: Create Javascript charts with one line of Ruby
#15Re: Show HN: Create Javascript charts with one line of Ruby
#16Very cool, but the site examples broke on my Android 2.3.5 browser - " Cannot set property 'overflow' of null"
Re: Show HN: Create Javascript charts with one line of Ruby
#17https://github.com/ankane/groupdate (by the same author) makes it simple to output the right JSON grouped by date (awesome!)
Highcharts/Google charts make it simple to turn json into JS graphs.
This library provides glue so you don't have to read the highchart docs. Might save some people some time, I guess...
Re: Show HN: Create Javascript charts with one line of Ruby
#18The ruby wrapper lib around the JS is dead simple. Could be ported to any language with ease. Very nice work! https://github.com/ankane/chartkick/blob/master/lib/chartkic...
Thanks! I started out heavy on the Ruby side but moved most logic to the JS to make AJAX charts dead simple to implement. (render :json => chart_data)
Re: Show HN: Create Javascript charts with one line of Ruby
#19Re: Show HN: Create Javascript charts with one line of Ruby
#20I particularly like the groupdate concept, and might send you a pull request adding 2.X support, if that fits in line with the project goals. I should have rolled my own years ago rather than repeating the same code at 100 places.