1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    18
    Vote Rating
    2
    HansGroeneveld is on a distinguished road

      0  

    Default Unanswered: Show Gauge chart of selected row

    Unanswered: Show Gauge chart of selected row


    Newbie question:
    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..?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,872
    Answers
    652
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    It is using the 1st entry in the store.

    Have a look at this example:
    http://dev.sencha.com/deploy/ext-4.1...Dashboard.html

    It uses another simple store and then calls loadData() to populate the chs (store) from the values if the grid/chart selection.

    Scott.

Thread Participants: 1