-
3 Mar 2011 4:03 AM #1
[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:
and after this my starts don't get chopped off at the chart's border anymorePHP Code:out = Ext.draw.Draw.snapEnds(min, (max >> 0) + 1, me.steps);
-Matthias
-
3 Mar 2011 10:07 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,659
- Vote Rating
- 14
Thank you for the report.
-
7 Mar 2011 1:52 PM #3
Hi, this makes sense, thanks again. It will be fixed in the next release.
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.
Similar Threads
-
[OPEN] [FIXED] [2.0.2] DnD zone overlay & Charts.
By mtarantini in forum Ext GWT: Bugs (2.x)Replies: 4Last Post: 8 Sep 2009, 7:21 AM -
[FIXED] [WARN] invoke arguments: Rounding double to int for int
By misqu in forum Ext GWT: Bugs (2.x)Replies: 19Last Post: 22 Jul 2009, 1:45 PM -
[FIXED][3.0rc1] Charts don't refresh in IE6
By tonedeaf in forum Ext 3.x: BugsReplies: 2Last Post: 23 Jun 2009, 10:55 AM -
[OPEN] [FIXED][3.0 SVN] RangeError: Maximum call stack size exceeded.
By DAddYE in forum Ext 3.x: BugsReplies: 17Last Post: 18 Jun 2009, 1:07 AM -
[FIXED] [2.0-M3] Explorer Sample and Charts
By mtarantini in forum Ext GWT: Bugs (2.x)Replies: 1Last Post: 11 Jun 2009, 9:12 AM


Reply With Quote