Sign in to follow this  
amalia

Fusion Charts error when accesing from a java built swf file

Recommended Posts

Hi.

 

I am trying build a swf file using java (Java-based Compiler API);

 

 

 

The chart I use is:

 

 

 

ns1:FusionChart id="chart1" FCchartType="MSColumn3D" FCdataURL="http://localhost:8090/ServletApp"

 

 

 

I added in the java code the FusionChart.swc as lib and the mxml file containing the chart:

 

 

 

Application application = new Application(new File("D:demo_SWC_app.mxml"));

 

Configuration c = application.getDefaultConfiguration();

 

File[] libFile = new File[]new File("D:libs", "FusionChart.swc")};

 

c.addLibraryPath(libFile);

 

 

 

Using Flex3builder the application (mxml file+ chart swf) works perfectly.

 

 

 

My problem is that I don t know how to specifiy to the java api how to add the swf files of the charts. I have the file MSColumn3D.swf in the same folder as the mxml and the generated swf file (generated by java)... I added the chart swf file to trusted files in Adobe Manager, but I get the following error when I embed the generated swf into a html file (to see it in a browser):

 

 

 

ReferenceError: Error #1069: Property url not found on _demo_SWC_app_mx_managers_SystemManager and there is no default value.

 

at com.fusionchart.components.flx.external::FlashInterface$/getSWFName()

 

at com.fusionchart.components.flx.external::FlashInterface$/getId()

 

at com.fusionchart.components.flx.external::FlashInterface$/publish()

 

at com.fusionchart.components::FusionChart/loaded()

 

 

 

I do hope I was clear enough.

 

 

 

Can anyone provide me some help? Thank you

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello :),

 

 

 

We are really excited to announce the release of FusionCharts for Flex v1.1 featuring the following:

 

 

 

- 12 new chart types: 7 new gauges including Angular gauge, LED gauge and Linear gauge, Spark chart and Bullet graphs have been added.

 

- All the gauges can fetch data in real-time and come with alert managers and message loggers.

 

- All the charts and gauges can now be natively exported as images and PDFs.

 

- The data for all the charts can be exported as CSV.

 

- Data sets can now have custom text labels instead of numeric values.

 

- The charts can handle a lot more events to help you manipulate them better.

 

- Trendlines can also have custom tool-text.

 

- Custom color palettes can be defined for the data plots.

 

 

 

Learn more about it from www.fusioncharts.com/flex. and learn what's new in FusionCharts for Flex from http://www.fusioncharts.com/flex/VersionHistory.asp.

 

 

 

Existing customers can upgrade to the new version from www.fusioncharts.com/PUC.

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