Chart Me Up
September 21, 2010 8:31 AM Subscribe
Need recommendations for producing charts within a web page. Snowflake details: Must produce an image (JOG, PNG, GIF) so that the entire page can be exported to a PDF. Must work with SSL. Google Charts works great but does not allow for SSL.
Response by poster: Actually, I am using ActivePDF to convert the page to a PDF, so the JavaScript doesn't render. Unfortunately, this eliminates any JS based graphing.
posted by juggler at 8:47 AM on September 21, 2010
posted by juggler at 8:47 AM on September 21, 2010
What's your server-side environment? It seems like gnuplot would meet some of your needs, if you can install it on your server and safely execute it from your web app framework. I mainly use it in the context of LaTeX docs, so I'm not sure re: integration with various web app platforms, but it might be something to look into.
posted by Alterscape at 9:21 AM on September 21, 2010
posted by Alterscape at 9:21 AM on September 21, 2010
Can you just use a JavaScript solution that uses a canvas element (like I would imagine most javascript charting libraries would) and then call the toDataURL element to get an image source, and then replace the canvas with an image before you render to PDF?
posted by Maxwell_Smart at 10:19 AM on September 21, 2010
posted by Maxwell_Smart at 10:19 AM on September 21, 2010
Best answer: I have used Flot and it's excellent but it sounds like it won't work for you. I've also used 'chart director' which makes images and is very flexible and has interfaces in many languages. It's not free for commercial use, though, but not very expensive. They have good support - I was trying to do a very complicated chart that didn't fit any of their examples in manual, and I got helpful response within a day.
posted by rainy at 1:20 PM on September 21, 2010
posted by rainy at 1:20 PM on September 21, 2010
Oh, but chart director doesn't look as good as Flot. Look at their screenshots and see if it's good enough..
posted by rainy at 1:21 PM on September 21, 2010
posted by rainy at 1:21 PM on September 21, 2010
Response by poster: Thanks everyone. We are going with Chart Director.
posted by juggler at 1:48 PM on September 21, 2010
posted by juggler at 1:48 PM on September 21, 2010
This thread is closed to new comments.
posted by nicwolff at 8:40 AM on September 21, 2010