Hi all
I have the need to render several XML files describing line charts in the same page.
chiefly, I wrote this routine, that should - at some point - generate this HTML:
[script type=text/javascript]
var [?="chart$i"?] = new FusionCharts("Charts/FCF_MSLine.swf", "ChartId", "600", "350");
[?="chart$i"?].setDataURL("[?=$f?]");
[?="chart$i"?].render("chartdiv");
[/script] [/td]
where [ must be read as the less-than symbol and ] as the greater-than.
$i is a counter - used to serialize the javascript objects, and $f is the current XML file path.
Unfortunately, only the last graph is shown.
Can you please help me?
Thanks in advance.