koolheadjones Posted August 18, 2009 Report Share Posted August 18, 2009 Hi, We are using Chart class to create charts and export to PNG format(using a ByteArrayOutputStream) and then write out the bytes usingservletoutputstream in a Servlet. The charts render fine on the web page but I am having a hard time trying to get mouse interaction after rendering the images in PNG format (essentially trying to capture mouse click or mouse over events). Is there any setting I am missing? Or do I need to use ChartServer class and render as FLASH to get the required functionality? Any examples/samples related to the topic that I can look at? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
TatianaG Posted August 25, 2009 Report Share Posted August 25, 2009 Unfortunately you can't do this if you are using Chart object; this because when you export the chart as an Image, you are only producing a simple image without any code. To capture events from the image, you must use ChartServer object so when you export the chart, it will be exported with the required javascript to handle interactivity. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.