The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Generate graphs (Scatterplot, etc...) from java and save as image"
rm_user2012
Member Posts: 4 Contributor I
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
Tagged:
0
Answers
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,
Marco