Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The 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...



If anyone's looking for similar functionality for PHP (Database-level time-grouping, time-ranged drilldowns, charts), you can check out http://razorflow.com

(Disclosure: I am the developer of RazorFlow, and am only posting here because I feel it's relevant to this particular story)


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)


The ruby wrapping lib supports AJAX out of the box by passing a URL or route path to the helper and returning JSON from that endpoint.


Well, well, mccolin replying to akane, long live Context Optional. And nice work akane.


Long live Context Optional, indeed!


We are building something similar for Django/Python:

https://github.com/agiliq/django-graphos

I am going to pick up some ideas from your code.


shabda - this is great. i'm going to try this out and contribute some more graph types over the next few weeks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: