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,927
    Vote Rating
    443
    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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi