Using dhtmlxDataView with Fusion Charts

We use Fusion graphics with our web site and would like to know if it is possible to use Fusion Graphics in a DataView. Below is some javascript which shows how we can load a chart on a web page. Is there any way to tranlate this into a DataView.

  17     <script type="text/javascript">
 18
 19     function loadchart()
 20     {
 21         var myChart = new FusionCharts("http://mystuff/FusionWidgets_Enterprise/Charts/AngularGauge.swf", "myChartId", "260", "200", "        0", "0");
 22         myChart.setDataURL("http://mystuff/FusionWidgets_Enterprise/Gallery/Data/Angular7.xml");
 23         myChart.render("chartdiv");
 24     }
 25     </script>
 26     <script type="text/javascript" language="JavaScript">loadchart();</script>

While it possible - it may be not a good desigion.
Many actions causes full repaint of dataview, and while it is fine for static html object - it may cause unwanted sideeffect for dynamically created entities.

data = new dhtmlXDataView({
			container:"data_container",
			template:function(obj){
                            var id = dhtmlx.uid();
                            window.setTimeout(function(){
var myChart = new FusionCharts("http://mystuff/FusionWidgets_Enterprise/Charts/AngularGauge.swf", "myChartId", "260", "200", " 0", "0");
myChart.setDataURL("http://mystuff/FusionWidgets_Enterprise/Gallery/Data/Angular7.xml");
myChart.render("area_"+id);
                            },1);
			    return "<div id='area_"+id+"'></div>";
			}
		});

Stanislav,

Where does dhtmlx.uid() come from. I am not familiar with this.

Thanks Dick

It is just a small helper, which will generate random unique ids.
You can replace it with any custom id generation logic, if necessary.