Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2008
    Posts
    72
    Vote Rating
    5
    elirov is on a distinguished road

      0  

    Default gxt radar chart refresh issue

    gxt radar chart refresh issue


    I'm getting some weird artifacts when redrawing a gxt radar chart. It looks like the labels are drawn on top of each other until I resize the container. Here's the code:

    Code:
    onSuccess(Payload result) {
               store.clear();          store.addAll(result.data);
                  chart.redrawChart();
                  forceLayout();
    }
    The forceLayout() command at the end helps somewhat. It's less likely to stack labels on top of each other, but it still happens.

    Note that the labels only get "stacked" when the result.data object contains different a different number of data points (not just different values) from the previous run.

    I'll attach a screenshot.

    I'm going to try adding this to the end of the onSuccess() call:
    Code:
              Scheduler.get().scheduleDeferred(new ScheduledCommand() {
                @Override
                public void execute() {
                  chart.redrawChart();
                  forceLayout();
                }
              });
    But I don't think that should be needed...
    Attached Images

  2. #2
    Ext GWT Premium Member
    Join Date
    Oct 2008
    Posts
    72
    Vote Rating
    5
    elirov is on a distinguished road

      0  

    Default


    Didn't need to run forceLayout(). What I did need to do was run this:
    axis.clear()
    before updating the store and before the redrawChart()

  3. #3
    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 the report as the axis should adapt to a changing number of data points. I will let you know when it has been fixed.

  4. #4
    Ext GWT Premium Member
    Join Date
    Oct 2008
    Posts
    72
    Vote Rating
    5
    elirov is on a distinguished road

      0  

    Default


    Cool! Also, I found out I need to clear the radar (Series) object as well or the opacity goes back to the lighter default... So, now I'm clearing all the axes and all series before calling redrawChart()

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

      0  

    Default


    This has been fixed in SVN and will be in the next release.

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

      0  

    Default


    GXT 3.0.1 has been released and contains this fix.

Thread Participants: 1

Tags for this Thread