Is there any way to embed fusion chart in AIR Project?
#1
Posted 13 November 2008 - 05:59 PM
It seems fusion chart needs javascript communicate with flex.
However, the container of AIR won't provide javascript support.
Thanks!
Other Replies To This Topic
#2
Posted 14 November 2008 - 12:42 AM
[font=" Verdana; COLOR: #1f5080; FONT-SIZE: 10pt"]Could you please tell me can AIR support Flash Object? Then you can embed FusionCharts. Also you can try with Flex.[/font]
[font=" Verdana; COLOR: #1f5080; FONT-SIZE: 10pt"]http://www.fusioncharts.com/flex/[/font]
[font=" Verdana; COLOR: #1f5080; FONT-SIZE: 10pt"]<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="900" height="300" id="Column3D" >
<param name="movie" value="../FusionCharts/Column3D.swf" />
<param name="FlashVars" value="&dataURL=Data.xml">
<param name="quality" value="high" />
<embed src="../FusionCharts/Column3D.swf" flashVars="&dataURL=Data.xml" quality="high" width="900" height="300" name="Column3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Arindam
Other Replies To This Topic
#3
Posted 16 November 2008 - 06:00 PM
I tried fusion charts flex framework. But it can not work under AIR. I think this could be a reason.
So you suggest I embed the fusion chart in a mx.html control and communicate with fusion chart by mx.html control?
Thanks for your reply.
Other Replies To This Topic
#4
Posted 19 February 2009 - 12:35 PM
Pallav Nadhani
Co-founder & CEO, FusionCharts Team
Other Replies To This Topic
#5
Posted 21 March 2009 - 12:23 PM
I've been able to get my charts to display in an AIR application using the <mx:HTML> control, but the drill down using a flex function does not work. (As we say here in South Africa: it ignores me like a STOP sign).
My method is basically AIR app -> FLEX HTML -> flex.swf
Has anyone managed to get this to work?
Take care,
Vaughn
Other Replies To This Topic
#6
Posted 03 July 2009 - 07:46 AM
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.fusioncha...ionHistory.asp.
Existing customers can upgrade to the new version from www.fusioncharts.com/PUC.
Rajroop Bhaduri
FusionCharts Team
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/
Follow us @Twitter
Other Replies To This Topic
#7
Posted 25 November 2010 - 03:23 PM
If there is a solution/workaround/hack can someone please post instructions or a guide on how to do it - if I can get something working in AIR, its almost guaranteed that we'd buy fusionmaps.
Regards
Adrian
Other Replies To This Topic
#8
Posted 12 February 2011 - 06:56 AM
Needs to have air application of existing fusion web application......please suggest...
MAIA
Other Replies To This Topic
#9
Posted 30 March 2011 - 03:41 PM
We have an AIR application built in Flash, and would love to include FusionCharts.
Other Replies To This Topic
#10
Posted 31 March 2011 - 07:11 AM
Welcome to FusionCharts Forum!
I am afraid, FusionCharts does not support AIR application, at this time.
We have taken a note of your request here and added the same in our wishlist.
Hope you have a great day!
http://documentation...sioncharts.com/
Best,
Angshu
Follow us on @Twitter
Other Replies To This Topic
#11
Posted 13 May 2011 - 05:50 PM
1. Create AIR project in Flash builder 4.5.
2. Import the FusionCharts.swc file into the library path of project.
3. Copy FusionCharts and FusionWidgets directory into the <project>/src/. (This contains all the swf files.)
4. Create a WindowedApplication and directly put in the FC component.
5. Started the app and you can see the AIR app running the FC chart.
So far, so good.
Then I ran into 2 issues:
1. When I try to capture events, they never seem to get fired. I tried both ways of setting FCRenderEvent="myfunction(mychart)" and via actionscript.
mychart.addEventListener(FCEvent.FCRenderEvent, myfunction2);
mychart.FCRender();
I imagine this is related to the interface expecting html or flex, etc.
(More of an enhancement)
2. When I call FCExportChart('mychart, 'JPG'), this always brings up a dialog box. I would like the ability to save directly to the harddrive, and even better, I would like to get the bytearray of the image, or some mechanism to get the image without having to save to disk. This seems like it would be a simple API change since the FCExportChart already does the conversion to image/PDF. Is this possible or something planned for future release?
Other Replies To This Topic
#12
Posted 16 May 2011 - 07:30 AM
Welcome to FusionCharts Forum!
First of all, we would like to thank you for showing interest in FusionCharts.
Thank you very much for your valuable feedback.
We will get back to you once we come up with a solution.
Hope you have a great day!
http://documentation...sioncharts.com/
Best,
Angshu
Follow us on @Twitter
Other Replies To This Topic
#13
Posted 21 May 2011 - 01:44 PM
Quote
1. When I try to capture events, they never seem to get fired. I tried both ways of setting FCRenderEvent="myfunction(mychart)" and via actionscript.
mychart.addEventListener(FCEvent.FCRenderEvent, myfunction2);
mychart.FCRender();
I imagine this is related to the interface expecting html or flex, etc.
Events wont fire in AIR as of now as we use FlashInterface (which uses intermediate JavaScript) to connect Chart and SWC and raise these events. Since JavaScript won't run in AIR, this is not possible. We are working on a new architecture for next release 1.3 which wont have Flash Interface and hence, most of AIR requirements would be fulfilled.
Quote
2. When I call FCExportChart('mychart, 'JPG'), this always brings up a dialog box. I would like the ability to save directly to the harddrive, and even better, I would like to get the bytearray of the image, or some mechanism to get the image without having to save to disk. This seems like it would be a simple API change since the FCExportChart already does the conversion to image/PDF. Is this possible or something planned for future release?
We will have this in next release 1.3

Back to top
MultiQuote
