Sign in to follow this  
FusionCharts Support

Save Image of chart created programmatically with AS2

Recommended Posts

I am creating a chart programmatically inside my own flash file using AS2 as such:

 

 

 

var chart:Column3DChart = new Column3DChart(chartContainer_mc, 1, 367, 226, 0, 0, false, "EN", "noScale");

 

 

 

This works perfectly. Now I want to save the created chart as an image. So i add the 'imageSave' and 'imageSaveURL' attributes to the chart XML but I still do not have the option to save the chart as an image.

 

 

 

Are there additional classes I need to import to make this work? I don't want to have to use Container3D.swf in addition to my flash file in order to make this work.

Share this post


Link to post
Share on other sites

Thanks.

 

 

 

I have 3.0.2 so that must be the problem.

 

 

 

Does that also explain why the "rendered" event is not being dispatched when the chart rendering is complete? I can't see where any of the Chart classes import flash.events?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this