Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-6074 in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    34
    Vote Rating
    0
    gordonk66 is on a distinguished road

      0  

    Default [4.0.7] Column chart with all zero data renders poorly and throws css warnings

    [4.0.7] Column chart with all zero data renders poorly and throws css warnings


    REQUIRED INFORMATIONExt version tested:
    • Ext 4.0.7
    Browser versions tested against:
    • FF12 (firebug 1.8.4)
    • Chrome
    • Safari 5.1.5
    Description:
    • When the data populating a column chart has all zero values the labels for the columns fall off the axis and there are many css errors. Unexpected value parsing NAN x/width value.
    Steps to reproduce the problem:The result that was expected:
    • The 0 data labels should show up directly next to the y axis.
    The result that occurs instead:
    • The data labels all the way to the left side of the chart.
    Test Case: HELPFUL INFORMATIONSee this URL for live test case: http://jsfiddle.net/gordonk66/aYDzZ/6/Debugging already done:
    • If you alter a single data point making it greater then 0 the chart renders correctly.
    Operating System:
    • Max OS X Lion

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,637
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thank you for the report.

    Regards,
    Scott.

  3. #3
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    34
    Vote Rating
    0
    gordonk66 is on a distinguished road

      0  

    Default ghetto work around

    ghetto work around


    My ghetto work around for this was to check the total on the data (which is provided by the server) and just altering a single data point to be very small with a unique number. Then in the chart label renderer I just have a one off to look for that number and reset the label to zero. Not an ideal solution but gets the job done.

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