HI All,
if (chart_status==0) {
dj("#chartContainer").insertFusionCharts({
swfUrl: "../FusionCharts/MSLine.swf",
width: "800",
height: "400",
id: "myChartId",
dataFormat: "jsonurl",
dataSource: "../path.txt"
});
chart_status = 1;
} else {
dj("#chartContainer").updateFusionCharts({
width: "900",
height: "400",
id: "myChartId",
dataFormat: "jsonurl",
dataSource: "../path.txt"
});
}
Above is my code to create chart.
This data is called after every 2 second and data within path.txt is updated in json data..
InsertFusionCharts is working fine but updateFusionCharts not reflact any changes on existing chart.
Can any one please suggest solution.