Sign in to follow this  
onkar

Fusion chart export functionality with jquery tab

Recommended Posts

Hi,
I want to show different fusion chart in different tabs.I have placed fusion charts in each  jquery tab.

I have one button for exporting all thoes charts to image format.

 when I Click on button to Export chart( I am using server side export functionality), it doesnt give error for charts on first tab.but for chart on second tab I get following error.

"Microsoft JScript runtime error: Object doesn't support this property or method" for line two in following code

 

 var chartCreditors = getChartFromId('CreditorChart');
          if (chartCreditors.hasRendered())
              chartCreditors.exportChart({ exportFormat: 'PNG' })

 

Can anyone help me?

Edited by onkar

Share this post


Link to post
Share on other sites

Hi,

When using tabs, only the chart which is on the visible tab can be exported because Fusion Charts export component need to capture the chart and this can be done only for the visible chart.

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