FusionCharts/FusionGadgets problem with JavaScript
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



FusionCharts/FusionGadgets problem with... Expand / Collapse
Author
Message
Posted 3/3/2008 4:10:15 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/3/2008 4:54:17 AM
Posts: 1, Visits: 5
Hello,
I started using FusionCharts/FusionGadgest couple days ago. I've downloaded Evaluation version of these products to check how can they help fulfill my needs.
The main problem I got is the following: I'm trying to adopt SaveChart JavaScript Example (provided with evaluation download) to my requirements. I wrote the code (see below) that works perfectly with Column3D Charts (save chart to file upon button click). But the same code using AngularGauge gadget doesn't work upon button click (but still works perfectly used manually by right-button "Save as.." click on the AngularGauge).

My code differs from sample code provided with evaluation version of FusionGadgets by the following javascript expressions.
This code works perfectly:

var myChart = new FusionCharts("Column3D.swf", "chart1Id", "265", "155", "0", "1");
myChart.setDataXML("");
myChart.render("chart1div");


This one doesn't work on button click but works good manually by Right-button "Save as..." click:

var myChart = new FusionCharts("AngularGauge.swf", "chart1Id", "265", "155", "0", "1");
myChart.setDataXML("");
myChart.render("chart1div");


Can you please help me to solve this problem. Thank you.
Post #4862
Posted 3/4/2008 7:14:17 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: Yesterday @ 8:20:12 AM
Posts: 2,194, Visits: 521
Hi,

The saveAsImage() JS handler in FusionGadgets charts has not yet been release. We intend to do the same soon.


Thanks,
Pallav Nadhani
FusionCharts Team
Post #4898
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:57pm


Execution: 0.078.