Sencha Premium Member
Show Gauge chart of selected row
I have a Gridpanel with a store.
Under the Gridpanel I set a Gauge chart, with the same store.
When I load the store the Gauge shows teh value of the first row of the grid.
When I page to other pages the Gauge is refreshed with data from the first line of the page of the Gridpanel.
However when I click on the second or other rows the Gauge keeps showing data from the first line.
Do I have to set the row in the Gauge by code or do I miss something..?
It is using the 1st entry in the store.
Have a look at this example:
It uses another simple store and then calls loadData() to populate the chs (store) from the values if the grid/chart selection.