You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    9
    Vote Rating
    0
    Nitro is on a distinguished road

      0  

    Default [FIXED] Charts: Bad rounding of maximum value

    [FIXED] Charts: Bad rounding of maximum value


    Hey,

    line charts can extend over their axes and go into the invisible area beyond the chart. This is especially noticeable with floating point numbers < 10. It's caused by bad rounding in Ext.chart.axis.Axis.calcEnds.

    I changed the code to:

    PHP Code:
            out Ext.draw.Draw.snapEnds(min, (max >> 0) + 1me.steps); 
    and after this my starts don't get chopped off at the chart's border anymore

    -Matthias

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    168
    Vote Rating
    0
    philogb is on a distinguished road

      0  

    Default


    Hi, this makes sense, thanks again. It will be fixed in the next release.

Similar Threads

  1. [OPEN] [FIXED] [2.0.2] DnD zone overlay & Charts.
    By mtarantini in forum Ext GWT: Bugs (2.x)
    Replies: 4
    Last Post: 8 Sep 2009, 7:21 AM
  2. Replies: 19
    Last Post: 22 Jul 2009, 1:45 PM
  3. [FIXED][3.0rc1] Charts don't refresh in IE6
    By tonedeaf in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 23 Jun 2009, 10:55 AM
  4. [OPEN] [FIXED][3.0 SVN] RangeError: Maximum call stack size exceeded.
    By DAddYE in forum Ext 3.x: Bugs
    Replies: 17
    Last Post: 18 Jun 2009, 1:07 AM
  5. [FIXED] [2.0-M3] Explorer Sample and Charts
    By mtarantini in forum Ext GWT: Bugs (2.x)
    Replies: 1
    Last Post: 11 Jun 2009, 9:12 AM

Thread Participants: 2