When using the follow snippet of code:
function updateChart(d,chart) {
var strURL = '/support_cases_wkly_report.php?DATE=' + d;
strURL = strURL + '&currTime=' + getTimeForURL();
strURL = escape(strURL);
var chartObj = getChartFromId(chart);
chartObj.setDataURL(strURL);
}
where *chart* is the DCOM ID of the chart I consistently get:
"Error: chartObj.setDataURL is not a function"
I have placed the chart in a test page not inside any forms or anything that would effect the DCOM tree in theory and the result is the same. The chart is rendered via the follow snippet of code:
echo renderChart("/charts/MSLine.swf?ChartNoDataText=Please wait for data to be displayed.", "/support_cases_wkly_report.php", "", "supportbyproduct", 800, 400, false, false);
What is going on here, and more importantly how can I resolve this issue? Thanks in advance for your assistance.
Jason