-
17 May 2012 2:06 PM #1
(GXT 3.0.0 GA) TimeAxis Label Rotation Issue in Charts
(GXT 3.0.0 GA) TimeAxis Label Rotation Issue in Charts
Version of Ext GWT
This problem occurs in the recently released GA version of Ext GWT 3.0.0.
Browser versions
Firefox 7
Operating System
Windows 7 64 bit
Hardware
Dell Precision M4500
8 CPUs – Intel Core i7
8 GB Memory
Virtual Machine
No
Description
The TimeAxis labels render above the TimeAxis when the TimeAxis is used horizontally below a chart (setPosition(Position.BOTTOM)) and rotation is used.
Please see attached ColumnChartTimeAxisRotationIssue.png.
This issue does occur in Firefox 7.
This issue DOES NOT OCCUR in Internet Explorer 8.
Run Mode
Occurs in when deployed to Tomcat (web mode), and running under Eclipse (dev mode).
Steps to Reproduce
The attached file (ColumnChartLabelRotationIssue.txt) can be used to demonstrate the problem.
The chart first comes up showing a range of time from December 1, 2012 through December 15, 2013.
All labels except the first label renders above the TimeAxis.
In the attached file (ColumnChartLabelRotationIssue.txt), I set label padding to -10 (setLabelPadding(-10)) per demo site example and this causes the labels to render completely above the TimeAxis and not be visible. I set label padding to 2 for the screen shot so that the labels would at least be partly visible.
Please let me know if I am doing anything wrong in the code in the attached file or if there is a work around.
Thanks,
John L
-
23 May 2012 2:36 PM #2
Turns out there was in issue in fire fox determining whether SVGTextElement was visible before calculating the bbox. This is now fixed and will be in the next release.text.jpg
-
15 Aug 2012 1:33 PM #3
GXT 3.0.1 has been released and contains this fix.
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.


Reply With Quote