"Generate graphs (Scatterplot, etc...) from java and save as image"
rm_user2012
New Altair Community Member
Hi,
I am trying to do something like the one in a previous topic:
http://rapid-i.com/rapidforum/index.php/topic,3680.0.html
I am wondering whether is it possible to generate the graphs from java and save it as an image?
I see that the reporting extension can generate the graphs, but how can i just export the image only?
Thanks in advance!
Cheers,
Mark
I am trying to do something like the one in a previous topic:
http://rapid-i.com/rapidforum/index.php/topic,3680.0.html
I am wondering whether is it possible to generate the graphs from java and save it as an image?
I see that the reporting extension can generate the graphs, but how can i just export the image only?
Thanks in advance!
Cheers,
Mark
0
Answers
-
Hi,
well you can certainly use the java imageIO api to export images you've created via paint(g)/print(g) methods of the respective graphs. If you want to allow multiple export options via a library export frame, check the ExportImageAction class in the current svn revision to see how that could be done.
Regards,
Marco0