I am trying to allow the setDataURL function to accept parameters, however everytime I try to render the chart, it says invalid data? I have provided the code below. However, without providing an parameter, it works. What is the issue?
function changeGraph()
{
var url1 = escape("hppdetailed.php?clientName=Test");
var chartReference = FusionCharts("myChartId1");
chartReference.setDataURL(url1);
}
When the function is called, the graph just says Invalid Data. The hppdetailed.php is configured to use the GET function to accept the parameter. I have tested that functionality and it is working correctly.