🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

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

User: "rm_user2012"
New Altair Community Member
Updated by Jocelyn
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
Sort by:
1 - 1 of 11
    User: "Marco_Boeck"
    New Altair Community Member
    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