News for hackers. Stuff that matters.
Re:Ask HN: What charts javascript library to use? by qbproger on Friday October 29, 2010 @11:26AM (#1847592)
Flot is worth a shot. There may be a python library to generate is server side. When I looked into it, I kept going back and forth between javascript charts vs images. I ended up going with images because I didn't really need dynamic charts. There were also features missing from many. IIRC, Flot couldn't add a title to the x/y axis at the time I was looking at it.
Re:Ask HN: What charts javascript library to use? by whouweling on Friday October 29, 2010 @02:52PM (#1848481)
I especially like the time series mode where flot assigns very meaningful time labels on the x axis when you zoom in and out. (based on unix timestamps * 1000, so easy to retrieve from a database)

You can load data from python quite easily using an jquery ajax call and json.dumps() in the view on the server side.

In general it surprises me how well the client side graph libraries scale if you load a lot of data into them.

Re:Ask HN: What charts javascript library to use? by jmervin on Friday October 29, 2010 @02:34PM (#1848394)
I've also found flot to be fairly powerful and have used it in a couple of projects.
Re:Ask HN: What charts javascript library to use? by mxmpawn on Friday October 29, 2010 @11:39AM (#1847646)
Thanks for your suggestion, I had previously checked Flot but didn't use it because I didn't see a pie chart in the examples. Now I looked again and the pie chart is in the trunk version.
Re:Ask HN: What charts javascript library to use? by bluedevil2k on Friday October 29, 2010 @12:02PM (#1847742)
Use Flot on several of my sites. They have some nice plugins that I like too, and it integrates very nicely with jQuery.