I need to create gauge chart showing performance. Now the parameter can changed runtime so the number of charts.
for that I am creating charts in loop. (just returning chart with different id and value to show)
below is the code.
whereas getGaugeChart function returns a gauge chart with given value.
var data = Ext.decode(response.responseText);
var count = data.data.length;
for (var i=0;i<count;i++)
rec = data.data[i];
myGaugeChart = getGaugeChart(rec.Value, rec.Name, rec.Nr);
But the output displays only first chart. In CSS and in debugger i can see the charts are there with name given. (also in debugger values are sending properly and no error anywhere)
I have also added label to chart(adding chart to panel and adding toolbar) , so the toolbar is displaying properly but the chart is always empty.
Could anyone throw some light on it. how to create N chart from the basic model?
Thanks in advance