"Generate graphs (Scatterplot, etc...) from java and save as image"

rm_user2012rm_user2012 Member Posts: 4 Contributor I
edited June 2019 in Help
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

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,993 RM Engineering
    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,
    Marco
Sign In or Register to comment.