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 2011
    Posts
    99
    Vote Rating
    0
    LEWJO10@ca.com is on a distinguished road

      0  

    Default (Beta 4) BarSeries Stacked Mode Defect (AreaSeries is OK)

    (Beta 4) BarSeries Stacked Mode Defect (AreaSeries is OK)


    Brendan,

    In working with the AreaSeries, I finally realized what is wrong with the BarSeries when using it in stacked mode.

    The attached AreaChart.png screen shot shows purchases for five different items by day against a daily budget of $50,000. The budget never changes from day to day and is always $50,000. You will see that the top of the area chart is a perfectly straight as an end-user would expect. In the attached ColumnChart_StackedAreaOK.txt I calculated the budget value for the yField to be $50,0000 minus all items purchased. There is no problem here! Apparently the top of each sprite is calculated relative to the zero point on the vertical axis by accumulating the values of the other yFields lower in the stack.

    The attached ColumnChartStacked.png shows the same chart done in a BarSeries using stacked mode. Here the budget of $50,000 appears to change a little (plus or minus) from day to day. This is wrong! In the attached ColumnChart_StackedColumnDefect.txt I calculated the budget value for the yField to be $50,0000 minus all items purchased (same as before). Apparently the top of each sprite is calculated relative to the top of the next lower sprite in the stack. Because a fractional pixel cannot be used, this causes little pixel rounding errors that accumulate.

    Please correct the BarSeries in stacked mode feature so that the top of each sprite is calculated relative to the zero point on the vertical axis by accumulating the values of the other yFields lower in the stack (same as the AreaSeries). This will greatly simplify things as opposed to adding a separate BarSeries for each yField to work around this problem.

    Hopefully, this is an easy change. It will make BarSeries stacked mode more accurate.

    By the way, this is a duplicate of a defect I posted in December to which I did not get a reply.

    Thanks,
    John
    Attached Images
    Attached Files

  2. #2
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for the investigations and the screenshots. We already have a bug filed for this issue, and I'll be sure to add a link to this thread in that ticket. I'll also update this thread with any changes we make.

  3. #3
    Ext GWT Premium Member
    Join Date
    Oct 2011
    Posts
    99
    Vote Rating
    0
    LEWJO10@ca.com is on a distinguished road

      0  

    Default


    Wesley,

    Thank you for your quick replay and encouraging news!

    I look forward to hearing from you again.

    John Lewis

  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


    Hey John,
    I've added a fix for the rounding errors in stacked bar, which will be in the forthcoming RC.stacked bar.jpg

  5. #5
    Ext GWT Premium Member
    Join Date
    Oct 2011
    Posts
    99
    Vote Rating
    0
    LEWJO10@ca.com is on a distinguished road

      0  

    Default


    Brendan,
    Fantastic! Looking forward to the first RC.
    John Lewis

  6. #6
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    This bug has been fixed in the Ext GWT 3.0 Release Candidate. Please upgrade your copy of Ext GWT and try your test case again. While we're confident that we've addressed this issue, please reply if you notice any continued problems after upgrading. Again, thanks for taking the time to report this bug.

  7. #7
    Ext GWT Premium Member
    Join Date
    Oct 2011
    Posts
    99
    Vote Rating
    0
    LEWJO10@ca.com is on a distinguished road

      0  

    Default


    Wesley,

    Thank you so very much for letting me know the good news.

    I will try out the new release candidate soon.

    John L

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi