Js Error Occurred When Dispose Gantt Chart in Using FusionWidgets XT Posted September 17, 2012 · Report reply 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.
Js Error Occurred When Dispose Gantt Chart
in Using FusionWidgets XT
Posted · Report reply
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.