6 Dec 2011 5:19 AM #1
Chart axes redrawn wrong
We have an ext app based on extjs 3.4 where we have charts that are embedded within a tabpanel.
The problem is that chart axes are redrawn wrongly when you make another tab visible and then jumps back to the tab hosting the chart.
For example, here the chart is shown in the initial state
When I then move away from this tab, and then select the tab hosting the chart again the chart now looks like
Note that text on the labels for the x-axis has changed from month names to numbers and also that the formatting on the numbers on the y-axis has changed.
I haven't any listeners registered on focus or visibility so it must be some internal updation of the flash part when it becomes visible again. But why aren't the labels for the axes not correctly formatted.
6 Dec 2011 7:39 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Sounds like a bug in YUI charts... you can try grabbing an updated swf file from them... not much we can do about it.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.