Hybrid View

    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
    Sencha User
    Join Date
    May 2012
    Location
    Belgium
    Posts
    6
    Vote Rating
    0
    boermansjo is on a distinguished road

      0  

    Default bar chart refresh problem after deleting a bar

    bar chart refresh problem after deleting a bar


    Hello, after a few time testing, I have a little problem with my bar chart.
    It's possible to add and delete new data bars. But the problem is when I remove a bar.
    It's like the chart don't delete the hole data object it uses to draw.
    here are some screens :
    http://sd-1.archive-host.com/membres.../bar_first.PNG

    http://sd-1.archive-host.com/membres...bar_second.PNG

    http://sd-1.archive-host.com/membres.../bar_third.PNG

    On the second screen, you can see that they all resize like it should. Then when i maximize the window i see a little box where the data was before deleting it. How can i fix that ?

    This is the code i use when i remove a data :
    Code:
    public void onSelect(SelectEvent event) {            
                Context c = event.getContext();
                int row = c.getIndex();
                Data d = store.get(row);
                channelsData.remove(row);
                store.remove(d);
                store.commitChanges();
                barChart.setStore(store);
                barSpec.setChannelsData(channelsData);
                channelsData = barSpec.getChannelsData();
                barChart.redrawChart();
    Thank's for helping.
    Van de Velde Jo

  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


    Thanks for the report. This has been fixed in SVN and will be in the next release. Until then you can avoid this issue by turning off shadows.

  3. #3
    Sencha User
    Join Date
    May 2012
    Location
    Belgium
    Posts
    6
    Vote Rating
    0
    boermansjo is on a distinguished road

      0  

    Default


    It don't change anything even after turning off the shadows.
    Then i have the situation you can see in the image 2. Just the last bar is still there, the others just go over that one and don't remove the green bar.
    When i add a new data, the text is also gone.
    I tried to remove the data from the series too with the code
    Code:
    barChart.removeSeries(row)
    but it don't change anything.

    Here is a new image to see the problem :
    http://sd-1.archive-host.com/membres...ar_explain.PNG

    Maybe i'm doing it wrong, so i need some help with this.

  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


    GXT 3.0.1 has been released and contains this fix.

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