Sign in to follow this  
maligangadhar

Combining FusionCharts, ASP & JavaScript (dataURL) method. Clicking Pie Chart throws error

Recommended Posts

I have used the code supplied by FusionCharts in the FusionCharts_Evaluation package. I have created a database with same data as the database supplied in the evaluation package. Pie chart in Default.asp displays correctly but when pie segments are clicked the following error message is seen and detail chart does not appear:

Firefox error:  chartObj.setDataURL is not a function

Internet Explorer error: Object doesn't support this property or method

The error is not the result of database query, as when I substitute my own values in code for database values the error message is the same. FusionCharts.asp, FusionCharts.js have been copied into the appropriate folder. Can anyone explain why this error may be occurring. I have spent four days trying to resolve the problem to no avail.

Any help would be appreciated.

Share this post


Link to post
Share on other sites

I have just found the problem. Others will probably experience the same problem so here is solution:

Change

Call renderChart("Column2D.swf?ChartNoDataText=Please select a factory from pie chart above to view detailed data.", "", "<chart></chart>", "FactoryDetailed", 600, 250, false, false)

to

Call renderChart("Column2D.swf?ChartNoDataText=Please select a factory from pie chart above to view detailed data.", "", "<chart></chart>", "FactoryDetailed", 600, 250, false, true)

Share this post


Link to post
Share on other sites

Hi Madhu,

 

 

 

iam using FCF_Line.swf for populating liner chart, the values in the x axis are overlapping since the values are more in it , can u please let me know how to show all xaxis values without overlapping the same.

 

 

 

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello Gangadhar,

Could you please attach the XML so that we can test on it?

Awaiting your reply.

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