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.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    natmart is on a distinguished road

      0  

    Default GXT RC2 Axis Labels display wrong in Firefox/Chrome

    GXT RC2 Axis Labels display wrong in Firefox/Chrome


    Required Information

    Version(s) of Ext GWT
    Ext GWT 3.0 Release Candidate 2

    Browser versions and OS
    (and desktop environment, if applicable)
    • Firefox
    • Chrome
    Virtual Machine
    No

    Description
    In firefox and chrome the bottom category axis labels display on top of the chart but it works in IE

    Run mode
    Dev

    Screenshot or video

    FireFox:

    firefox.png

    IE:
    ie.png

  2. #2
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for the report. In order to ensure that we're able to reproduce your exact issue, please include a small test case that implements EntryPoint.

    Also, are you noticing this issue with any of the examples in the Explorer demo?

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    natmart is on a distinguished road

      0  

    Default


    If you use the Area Chart example in the example explorer and change the line where it gets data to:

    Code:
    store.addAll(TestData.getData(40, 20, 100));
    And then the getData function needs to be adjusted so you don't get an index out of bounds error:

    Code:
    public static List<Data> getData(int size, double min, double scale) {
                List<Data> data = new ArrayList<Data>();
                for (int i = 0; i < size; i++) {
                  data.add(new Data(monthsFull[i % monthsFull.length], Math.floor(Math.max(Math.random() * scale, min)), Math.floor(Math.max(Math.random() * scale, min)),
                      Math.floor(Math.max(Math.random() * scale, min)), Math.floor(Math.max(Math.random() * scale, min)), Math.floor(Math.max(Math.random() * scale, min)),
                      Math.floor(Math.max(Math.random() * scale, min)), Math.floor(Math.max(Math.random() * scale, min)), Math.floor(Math.max(Math.random() * scale, min)),
                      Math.floor(Math.max(Math.random() * scale, min))));
                }
                return data;
              }
    It appears that this bug only happens when there are more x axis data points than axis labels it can fit into the space.

  4. #4
    Sencha - GXT Dev Team BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
    BrendanC is on a distinguished road

      0  

    Default


    This is now fixed in SVN and will be in the next release.

  5. #5
    Sencha - GXT Dev Team BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
    BrendanC is on a distinguished road

      0  

    Default


    GXT 3.0.1 has been released and contains this fix.

Thread Participants: 2