I am trying to build an application that uses other js libraries - FusionCharts in particular and I am experiencing some difficulties which I do not think are specific to FusionCharts but rather how I handle them in DHTMLX Touch - I hope you’ll agree, apologies if I’m wrong.
I have the following file test.html :
[code]
FusionCharts XT will load here!
<!--
FusionCharts.setCurrentRenderer('javascript');
var myChart = new FusionCharts("FusionCharts/Column3D.swf", "myChartId", "100%", "100%", "0", "1");
myChart.setXMLUrl("data.xml");
myChart.render("FusionChartsContainer");
// -->
</script>
[/code]
It displays fine when it is called directly in a browser however, when I invoke it in a template, like this:
{ view: "template", id: "chart1", src: "test.html" }
it just renders the text “FusionCharts XT will load here!”.
Grateful as always for any help.