Sign in to follow this  

How To Export Child Chart Using External Button

Recommended Posts


I'm trying to write code which exports a chart to a file. It works with parent chart but doesn't work according to the child chart (I have links in XML file to "go deeper" into the chart details).


function testPrint(chartName) {

var chart = getChartFromId(chartName);

if (chart.hasRendered() != true)
	alert("Please wait for the chart to finish rendering, before you can invoke exporting");

// call exporting function
chart.exportChart( {exportFormat: "PNG"} );



Being on the deeper level using this code causes 'Unspecified error'.

Please, help.

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