Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    7
    Vote Rating
    0
    mailisa is on a distinguished road

      0  

    Default [4.0.2] Y-axis not generated if all values are 0

    [4.0.2] Y-axis not generated if all values are 0


    Possible bug: When creating a chart (stacked column is what I was using), if all the y values for a particular y have a 0 value, the y-xis is not rendered.

    Also noticed this bug in FireBug when using httpproxy and json to load data:
    Unexpected value NaN parsing y attribute.
    Unexpected value NaN parsing height attribute.

    Example:
    Code:
    var dataStore = {
        fields: ['Col1', 'Col2', 'time'],
        data: [{"Col1": 0, "Col2": 0, "time": "1200"},
               {"Col1": 0, "Col2": 0, "time": "1300"},
               {"Col1": 0, "Col2": 0, "time": "1400"},
               {"Col1": 0, "Col2": 0, "time": "1500"}
        ]
    };
    
    var display = Ext.create('Ext.chart.Chart', {
        width: 600,
        height: 800,
                    flex: 1,
                    animate: true,
                    shadow: true,
                    store: dataStore,
        legend: {
            position: 'bottom'
        },
        
           axes: [{
               type: 'Numeric',
               position: 'left',
               fields: ['Col1', 'Col2'],
               title: 'Y-axis',
               grid: true
           }, {
               type: 'Category',
               position: 'bottom',
               fields: ['time'],
               grid: true,
               title: 'X-axis'
           }],
           
           series: [{
               type: 'column',
               axis: 'left',
               gutter: 80,
               xField: ['time'],
               yField: ['Col1', 'Col2'],
           }]
    });
    
    var okWindow = Ext.create('Ext.Window', {
        title: 'Window',
        width: 800,
        height: 600,
        hidden: false,
        maximizable: true,
        renderTo: Ext.getBody(),
        layout: 'fit',
        items: [display]
    });

  2. #2
    Sencha User
    Join Date
    May 2011
    Posts
    92
    Vote Rating
    0
    ext-spring-mvc is on a distinguished road

      0  

    Default


    i have similar issue though I can't locate the root cause. got following two warnings in firebug every times reloading the chart's store:


    Unexpected value NaN parsing y attribute.
    Unexpected value NaN parsing height attribute.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    22
    Vote Rating
    0
    shekhar.kotekar is on a distinguished road

      0  

    Question 'Unexpected value NaN parsing y attribute' warninng while drawing pie chart

    'Unexpected value NaN parsing y attribute' warninng while drawing pie chart


    Hi,

    I am getting same error while drawing pie chart. I am using extjs 4.0.7 version. Anyone found solution to this problem?

    Code for my pie chart is as follows :
    Code:
    xtype: 'chart', title: 'Location wise candidate distribution', itemId: 'CandidateDistributionChart', store: 'CandidateDistribution', width: 250, height: 260, shadow: true, animate: true, theme: 'Base:gradients', legend: {     position: 'right' }, series: [{     type: 'pie',     field: 'candidateCount',     showInLegend: true,     label: {         field: 'name',         contrast: true,         font: '18px Arial'     } }]
    Please help !

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