FusionCharts Forum: Is there any way to embed fusion chart in AIR Project? - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Is there any way to embed fusion chart in AIR Project?

#1 User is offline   t1000 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 13-November 08

Posted 13 November 2008 - 05:59 PM

Is there any way to embed fusion chart in AIR Project?



It seems fusion chart needs javascript communicate with flex.



However, the container of AIR won't provide javascript support.



Thanks!
-1

Other Replies To This Topic

#2 User is offline   Arindam 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 730
  • Joined: 14-September 07

Posted 14 November 2008 - 12:42 AM

Hi,

[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>
[/font]

Thanks,

Arindam
0

Other Replies To This Topic

#3 User is offline   t1000 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 13-November 08

Posted 16 November 2008 - 06:00 PM

The big difference between AIR applications(run in Adobe AIR) and Web Flex applications(Run in Flash player) is the container of Web Flex application is 'Application' whereas AIR is 'WindowedApplication' (No flash.external in AIR).



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.
0

Other Replies To This Topic

#4 User is offline   Pallav 

  • FusionCharts Team
  • Group: Administrators
  • Posts: 2386
  • Joined: 08-December 06

Posted 19 February 2009 - 12:35 PM

I'm afraid that'll be the only way, as we use FlashInterface for FusionCharts to Flex communication.
Thanks,
Pallav Nadhani
Co-founder & CEO, FusionCharts Team
0

Other Replies To This Topic

#5 User is offline   vaughndumas 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 48
  • Joined: 25-February 09

Posted 21 March 2009 - 12:23 PM

Hi,



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
0

Other Replies To This Topic

#6 User is offline   Rajroop 

  • FusionCharts Team
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1803
  • Joined: 19-May 09

Posted 03 July 2009 - 07:46 AM

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.fusioncha...ionHistory.asp.



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

Rajroop Bhaduri

FusionCharts Team

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Follow us @Twitter
0

Other Replies To This Topic

#7 User is offline   Adrian Thomson 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 25-November 10

Posted 25 November 2010 - 03:23 PM

My scenario is FusionMaps. We have a project where we need to supply third parties with an AIR application with interactive maps, we may also have a separate application for a website with interactive maps on too, but the main driver is the AIR app. I have managed to display a map, but the events aren't being captured, due to the flash.external issue.

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
0

Other Replies To This Topic

#8 User is offline   MAIA Intelligence 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 12-February 11

Posted 12 February 2011 - 06:56 AM

Hi team

Needs to have air application of existing fusion web application......please suggest...

MAIA
0

Other Replies To This Topic

#9 User is offline   randykato 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 30-March 11

Posted 30 March 2011 - 03:41 PM

I would also like to know if it is possible to use FusionCharts in an AIR application.

We have an AIR application built in Flash, and would love to include FusionCharts.
0

Other Replies To This Topic

#10 User is offline   Angshu 

  • Supreme Being
  • Group: Administrators
  • Posts: 3222
  • Joined: 08-December 10

Posted 31 March 2011 - 07:11 AM

Hi,

Welcome to FusionCharts Forum!Posted Image

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!
Help us improve our documentation with your precious feedback at:

http://documentation...sioncharts.com/

Best,

Angshu

Follow us on @Twitter


0

Other Replies To This Topic

#11 User is offline   flexing_fc 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 13-May 11

Posted 13 May 2011 - 05:50 PM

I did some experimenting with AIR and found the following after downloading FC for Flex. The intention was to run an AIR app that can generate images/PDF, similar to the .net windows form app example.

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?
0

Other Replies To This Topic

#12 User is offline   Angshu 

  • Supreme Being
  • Group: Administrators
  • Posts: 3222
  • Joined: 08-December 10

Posted 16 May 2011 - 07:30 AM

Hi,

Welcome to FusionCharts Forum!Posted Image

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!
Help us improve our documentation with your precious feedback at:

http://documentation...sioncharts.com/

Best,

Angshu

Follow us on @Twitter


0

Other Replies To This Topic

#13 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1886
  • Joined: 19-March 07

Posted 21 May 2011 - 01:44 PM

Hi,

Quote

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.


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

(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?


We will have this in next release 1.3
Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic