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 Premium Member
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Shlomi is on a distinguished road

      0  

    Exclamation Chart: Incorret xScale calculation when setting xNumericAxis Maximum & Minimum

    Chart: Incorret xScale calculation when setting xNumericAxis Maximum & Minimum


    To reproduce:
    Create a chart with x & y Axis
    Update Maximum & Minimum (NumericAxis.setMinimum).
    You will see after render chart, the xScale do not calculate correctly.

    I think the problem is probably in ScatterSeries.calculateBounds() method when updating minX & maxX only according yAxisPosition... so only minY & maxY is calculated therefore yScale is correct but not xScale that calculate according the max & min items values regarding the new axis limits.

    I'm using GXT 3.0Beta2.
    Tested both Firefox & Chrome browsers

    Is it really a bug ?
    Thanks

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

      0  

    Default


    Thanks for pointing that out. This is now fixed for Area, Bar, Line and Scatter Series. The fix is currently in SVN and will be in the next release. Similar to the y the series will have a xAxisPosition to base its scale on.

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
    Shlomi is on a distinguished road

      0  

    Default Another related

    Another related


    Thanks Brendan
    I noticed that if the items yValues are less than 9 I'm getting bad scaling (like attached) like there is no float values scaling...
    I hope that fix that one as well...
    is it?
    Thanks in advance
    Attached Images

  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


    Do you mean the displayed values on the y-axis? That is because the default label provider truncates the values. You can set a custom one using axis.setLabelProvider.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar