1. #1
    Sencha User
    Join Date
    Oct 2007
    Posts
    585
    Vote Rating
    0
    bhomass is on a distinguished road

      0  

    Default Chart does not update

    Chart does not update


    I am using gxt 3.0.0 beta.

    My bar chart uses a store which gets updated

    store.clear();
    store.addAll(new data);

    you need to call chart.redraw() to show the new data.

    In the old lib, you can call store.setMonitorChange(true). Is there an equivalent call needed here? I tried store.setAutoCommit(), but that did not work.

  2. #2
    Sencha - GXT Dev Team BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
    BrendanC is on a distinguished road

      0  

    Default


    bindStore in Chart should give you what you want.

  3. #3
    Sencha User
    Join Date
    Oct 2007
    Posts
    585
    Vote Rating
    0
    bhomass is on a distinguished road

      0  

    Default


    Thanks, bindStore is the correct call. However, Gauge chart has a bug which causes a crash when you call store.clear(). so I am back to calling redraw().

  4. #4
    Sencha - GXT Dev Team BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
    BrendanC is on a distinguished road

      0  

    Default


    Thanks for pointing out that bug. It will be fixed in the next release.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar