Sign in to follow this  
darian_li

Js Error Occurred When Dispose Gantt Chart

Recommended Posts

background:

 

my page include two chart. one is MsStackedColumn2DLineDY, another is machine state of gantt.

after these both chart are renderred they are disposed to make sure render them again successfully.

then problem occurred that gantt chart cannot be disposed which is 'Object doesn't support this property or method'.

 

code demo:

 

chart = new FusionCharts("<%=path%>/fc/swf/Gantt.swf", "esChartId", "880", "200", "0", "0");

chart.setDataURL( "<%=path%>/fc/data/Gantt.xml" );

chart.render("divEsChart");

 

var eschart = getChartFromId("esChartId");

eschart.dispose();

 

solutions:

besides, i try to replace to use FusionCharts("esChartId").dispose() but it is also unuseful.

appreciate you.

post-29849-0-02707900-1347864909_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum. :)

 

 

Can you check if you are using FusionCharts.js available with FusionWidgets XT (v3.2) or above? The easiest way to get this is to open FusionCharts.js in a text editor and check its version from the top lines. Can you please make sure the version stated in the JavaScript file is not below 3.2?

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