-
14 May 2012 9:48 AM #1
(GXT 3.0.0 GA) Bar Series Chart Does Not Render Correctly When Time Range is Changed
(GXT 3.0.0 GA) Bar Series Chart Does Not Render Correctly When Time Range is Changed
Version of Ext GWT
This problem occurs in the recently released GA version of Ext GWT 3.0.0.
Browser versions
Firefox 7
Internet Explorer 8
Operating System
Windows 7
Virtual Machine
No
Description
When the BarSeries is used in column mode (setColumn(true)) in conjunction with a TimeAxis in the bottom position, the resulting chart will eventually have rendering issues when the range of time is changed dynamically using (for example) DateField widgets for manipulating starting and ending dates.
The problem occurs in Eclipse (dev mode) as well as when deployed to Tomcat (web mode).
Steps to Reproduce
The attached file (ColumnChartRenderingErrors.txt) can be used to demonstrate the problem.
The chart first comes up showing a range of time from July 1 through July 30. Change the End Date widget to July 15 (a shorter range of time), and then click the Get Data button. The right half of the chart will not re-render correctly. Attached is a screen shot (ColumnChartRenderingErrors.png) showing the problem.
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
-
14 May 2012 12:12 PM #2
I'm not able to replicate this bug on either IE8 or Firefox 11. I assume that this bug has been fixed at some point after the release of GXT 3.0.0. Because you are a premium member, you should have access to our Subversion repository. If you would like to test this test case for yourself, check out a copy of the current GXT source from Subversion. Meanwhile, I'll follow up with the team to ensure that such a fix has taken place.
-
14 May 2012 12:24 PM #3
WesleyMoy,
On the support site there is a link to access SVN and also a link to download the latest build as a zip.
Can I just use the link to download the latest build as a zip?
Is this a more recent version than GXT 3.0.0 GA that has the fix?
Thanks,
John L.
-
23 May 2012 5:56 PM #4
I cannot reproduce this either. Out of curiosity do you see the same rendering artifacts in any of bar chart examples? http://sencha.com/examples/#ExampleP...tackedbarchart
-
24 May 2012 6:26 AM #5
Brendan,
The demo site examples are too simplistic in that all of them always present the same number of intervals or categories.
It is only by varying the number of intervals or categories from one chart refresh to the next that you can see the problem.
That is why I supplied the code to demo the problem using GA 3.0 (not the latest SVN build).
This problem was reported fixed-not-released back in December.
http://www.sencha.com/forum/showthread.php?162952-FNR-(Beta-1)-RedrawChart-Does-Not-Always-Work
I was surprised to see it still there in the new GA version, and gathered from WesleyMoy's comments that it was fixed but not released in the new GA version.
I suggest you run the code I supplied with the new GA version (not the latest SVN build), and follow the steps to reproduce.
Please let me know how I may help in reproducing this problem.
Thanks,
John L
-
24 May 2012 6:28 AM #6
Brendan,
The link in my reply above is bad.
Here is the good one.
http://www.sencha.com/forum/showthread.php?162952-FNR-(Beta-1)-RedrawChart-Does-Not-Always-Work
John L
-
24 May 2012 3:44 PM #7
Switched back to the revision just before release and was able to reproduce this bug. Fortunately this is fixed in SVN and will be in the next release. Probably was fixed when I was dealing with a similar bar series issue with shadows.
-
15 Aug 2012 1:32 PM #8
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