copy and paste fusion charts
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



copy and paste fusion charts Expand / Collapse
Author
Message
Posted 6/13/2007 10:37:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/13/2007 10:31:19 AM
Posts: 1, Visits: 1
Hello folks,
I am using fusioncharts in my ASP page. The chart displays beautifully on my webpage. But now, i need to find a way to copy the chart directly from the webpage and paste it on power point or any other software. I tried to export the webpage to an image document, but it didnt work. i know i could printScreen the page and paste it, but its too much of a hastle. Any suggestions?
Thank you
Post #1297
Posted 6/13/2007 11:24:32 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
FusionCharts is rendered on the client side using Adobe Flash Player. Essentially, FusionCharts is a set of .swf files, which when requested by the users, downloads on his/her machine, reads the XML data and then plots the chart.

Owing to limitation of Flash Player itself, which doesnt allow saving the end output of the chart as image, FusionCharts too is bounded by the same limitations. As such, you cannot directly save the charts as bitmap/image/PDF.

Indirect ways of saving chart image are:

- You can third party tools like www.flashcapture.com to take one-click screenshots of the generated charts and then use it.
- You can use PDF Print drivers like www.pdf995.com to save the chart as PDF (by capturing it from Print Stream of your Operating System).

Thanks,
Pallav Nadhani
FusionCharts Team

Post #1304
Posted 12/21/2007 6:16:02 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
Starting FusionCharts v3.0.5, you can now export your charts as images. You may read more on it at:

http://www.fusioncharts.com/docs/Contents/SAIOverview.html
http://www.fusioncharts.com/docs/Contents/SAISetting.html

A live demo is at http://www.fusioncharts.com/GalleryChart.asp?id=1 - just right click on the chart and select "Save as Image".


Thanks,
Pallav Nadhani
FusionCharts Team
Post #3495
Posted 2/25/2008 5:00:47 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/29/2008 12:08:35 PM
Posts: 6, Visits: 17
Hi,

Can you tell me if the saveImage feature available in the evaluation version via the JS method?  I tried it but when I go to load

chartToPrint.saveAsImage();

I get a JS "Object doesn't support this property or method" error.

Thank you!

-Deb

Post #4709
Posted 2/28/2008 7:39:52 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
Yes - it's available in evaluation too. Just make sure you're using v3.0.6.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #4790
Posted 2/28/2008 2:48:10 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/29/2008 12:08:35 PM
Posts: 6, Visits: 17
Hi, thanks for your note.

I grabbed 3.06 enterprise edition and have that installed now.  I see the Image Save As right-click feature now.  However, when I try to use the example saveChart();  I get a JS error still on the "chartToPrint.saveAsImage();" call.  It says Object doesn't support this property or method. 

function saveChart(){

//Get chart from its ID

var chartToPrint = getChartFromId('chart1Id');

chartToPrint.saveAsImage(); //bombs on this call

}

Post #4820
Posted 2/29/2008 5:43:48 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 1:21:47 AM
Posts: 675, Visits: 1,079
hi,

Make sure that you have set registerWithJS on when rendering the chart.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4833
Posted 2/29/2008 9:23:46 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/29/2008 12:08:35 PM
Posts: 6, Visits: 17
Yes, I am registering it with JS, and it's not inside a form, and I can use getChartId.  It's the call to chartToPrint.saveAsImage(); that won't work on the active-X object.

var so = new FusionCharts('FusionCharts/MSColumn2D.swf', 'chart1Id','600','400','0','1','FFFFFF','exactFit','','8');

so.addParam("type", "application/x-shockwave-flash");

so.addParam("id", "chart1Id");

so.addParam("FlashVars","&dataURL=cache/<?=$currentwidgetkey?>.xml");

so.addParam("movie", "FusionCharts/MSColumn2D.swf");

so.addParam("quality", "high");

so.addParam("menu", "true");

so.addParam("wmode", "opaque");

so.addParam("allowScriptAccess", "always");

so.addParam("pluginurl", "http://www.macromedia.com/go/getflashplayer");

so.render("chart1div");

Thanks for your help!

-D

Post #4841
Posted 3/4/2008 7:05:24 AM
FusionCharts Team

FusionCharts TeamFusionCharts Team