line graph in grid cell
I have a grid with 12 values (1 per month).
I would like to add a column with a graph displaying on each row the content of the previous values. Is it possible?
Actually, i have a single graph that i refresh on selectionchange but the effect is not as a real dashboard.
I'm working with extjs 4.0.7.
It's possible but good luck with performance. You can render the chart to any element using renderTo
Thank you for your answer.
The grid have a paging toolbar and i can reduce number of rows so performance should not be a problem.
As i'm working with a json filled with cgi script. I cannot find the way to dinamically generate the store for the graph using local data (the one already available in the grid row) from inside the renderer.
Inside the renderer you have full access to the record for that row. It's the third argument passed to the renderer. Doesn't that give you the information you need to create the chart's store?
You may find this UX makes life a bit easier: