Hi all,
Is this a sensible way to solve this?
Any comments or suggestions appreciated.
I want to create a linechart with a dynamical number of lines. Is there an example online? Any good practices?
The general idea is:
grid.onrow(s)select => getdata => add to chart
In somewhat more detail:
Code:
(grid multiselect)
chart.series.remove();
store.load({
params: { (multiselect)
},
callback: function(xxxxx) {
each(row) {
var serie = {
type: 'line',
data = data
};
chart.add(serie);
}
}
}
chart.redraw();
Is this a sensible way to solve this?
Any comments or suggestions appreciated.
--
Fabio
Aucun commentaire:
Enregistrer un commentaire