Hint: this may be a thinly disguised request for a FOSS component which alraeady does the same.
But, if such a beast is not forthcoming, then how do I go about it? Given a series of (x,y) data, what's the best way to display them in manamagentspeak?开发者_JAVA技巧 Just some pretty pictures ... charts/graphs/histograms/scatter graphs/pie charts ...
Edit: When I said FOSS I ought to have stressed that I need something which can be used in a commercial applciation ...
Use a library such as jpGraph or graphpite or pChart
You can also try using Google Charts http://code.google.com/intl/en/apis/chart/
It's really easy to build graphs using it's API.
精彩评论