1. #1
    Touch Premium Member liuxing_sc's Avatar
    Join Date
    Aug 2011
    Location
    China
    Posts
    38
    Vote Rating
    0
    liuxing_sc is on a distinguished road

      0  

    Cool Bug of chart

    Bug of chart


    strange, the sample of extjs run this well while mine encountered this problem
    PHP Code:
    var fieldsJson preparedData.fields;var dataJson preparedData.data;var seriesJson preparedData.series;var xAxesFiels preparedData.xAxesFiels;var yAxesFiels preparedData.yAxesFiels;var yAxesTitle preparedData.yAxesTitle;
    //alert(Ext.JSON.encode(fieldsJson));//alert(Ext.JSON.encode(dataJson));
    var reportstore = new Ext.data.JsonStore( {    fields fieldsJson,    data dataJson,    listeners : {        load : function() {            alert('aaa');        }    }});var report_table Ext.create('Ext.chart.Chart', {    flex 2,    animate true,    shadow true,    style 'background:#fff',    region 'center',    theme 'Category2',    store reportstore,    legend : {        position 'right'    },    axes : [ {        type 'Numeric',        position 'bottom',        fields yAxesFiels,        minimum 0,        maximum 4,        dashSize 1,        adjustMinimumByMajorUnit 0,        majorTickSteps 3,        minorTickSteps 1,        label : {            renderer Ext.util.Format.numberRenderer('0,0')        },        grid true,        title 'Evaluation Score'    }, {        type 'Category',        position 'left',        fields xAxesFiels,// ['knowledgeItem'],        title : yAxesTitle    } ],    series : [ {        type : 'bar',        axis : 'bottom',        xField : xAxesFiels,        yField : yAxesFiels,        tips : {            trackMouse : true,            width : 80,            height : 28,            renderer : function(storeItem, item) {                this.setTitle(item.value[1]);            }        }    } ]});
    Ext.onReady(function() {    var viewport Ext.create('Ext.Viewport', {        id 'border-example',        layout 'border',        items : [ report_table ]    });    reportstore.load();}); 
    when loaded, the load mask can't be destroyed, so i look up the firebug console(using -debug.js) , i saw an error there, said "url is undefined" -debug.js line 810

    i don't know what's going on here, it worked before this version, is it a bug? how to resolve it?
    -->

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,585
    Vote Rating
    319
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    The code you posted has come through unreadable. Please edit your post or repost the code so that we can read it.

    Please can you also post the full stacktrace rather than just the error message?
    -->

  3. #3
    Touch Premium Member liuxing_sc's Avatar
    Join Date
    Aug 2011
    Location
    China
    Posts
    38
    Vote Rating
    0
    liuxing_sc is on a distinguished road

      0  

    Default


    it's ok now, i made a static datasource and then load it, so error occured
    -->

Thread Participants: 1

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