Link to home
Start Free TrialLog in
Avatar of krishna kishore
krishna kishore

asked on

open shource chart plugin

I want to develop charts in my project using jsp.
please suggest any open source which should have options to export to different formates.
Avatar of David Favor
David Favor
Flag of United States of America image

Best to use gnuplot, which has many decades of development behind it's code base + many examples available.

Trying to recode gnuplot in some other language like Java, makes very little sense.

Best to call gnuplot from your code, by having your code emit a gnuplot script, then execute it, targeting the output in some directory, then referencing the output images.

http://linux.byexamples.com/archives/487/plot-your-graphs-with-command-line-gnuplot/ provides a good overview example.

If your goal is to embed many graphs in Web pages, then http://www.graphviz.org/ will probably provide more flexibility, as you can produce graphs as light weight SVG snippets.

With SVG (vector based graphs), you'll end up with graphs which can scale onto any device (mobile or desktop), keeping text sharp (no pixilation).
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.