Have my graph and graph it too?
May 15, 2012 8:55 AM Subscribe
How can I generate a graph server-side, and update it client-side?
My boss just handed me the job of creating graphs for one of our systems, but he'd like it to work with or without Javascript, so I can't just use one of the many javascript-based graphing libraries unless I also implement the graphs as static images. Flash is also out, since it won't work on the iPad.
So, what I'm looking for is some way to generate a graph on the server (possibly as SVG?) and then some way to manipulate the graph with Javascript (the dataset gets updated about once every 5 seconds) so that users with Javascript enabled can see auto-updating graphs in the UI (and users with Javascript disabled will just see a static representation of the data as of when the page is loaded).
Does this kind of thing exist? Or would I just be better implementing things twice?
posted by fvox13 to computers & internet (11 answers total) 2 users marked this as a favorite
posted by Strass at 9:03 AM on May 15, 2012