Results 1 to 2 of 2

Thread: Chart axes redrawn wrong

  1. #1
    Sencha User
    Join Date
    Nov 2009
    Posts
    11
    Vote Rating
    0
      0  

    Default Chart axes redrawn wrong

    Hi

    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
    before.jpg

    When I then move away from this tab, and then select the tab hosting the chart again the chart now looks like

    after.jpg

    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.

    Thanks
    Niels

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •