Using with other libraries

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 :


FusionCharts XT will load here!

    var myChart = new FusionCharts("FusionCharts/Column3D.swf", "myChartId", "100%", "100%", "0", "1");

// -->     

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.

As usual, I got there just after writing the post and successfully used an { view: “iframe” } to display it.