Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ExtJS 3.2饼图未在IE 8中呈现_Extjs_Internet Explorer 8_Charts_Pie Chart - Fatal编程技术网

ExtJS 3.2饼图未在IE 8中呈现

ExtJS 3.2饼图未在IE 8中呈现,extjs,internet-explorer-8,charts,pie-chart,Extjs,Internet Explorer 8,Charts,Pie Chart,我已经用ExtJS3.2创建了一个饼图,但它没有在InternetExplorer8中呈现,有人能告诉我问题出在哪里吗。下面是我的饼图代码: function customPieChart(dataStore) { var store = new Ext.data.JsonStore({ fields: ['responseType', 'total'], data: dataStore }); var pan = new Ext.

我已经用ExtJS3.2创建了一个饼图,但它没有在InternetExplorer8中呈现,有人能告诉我问题出在哪里吗。下面是我的饼图代码:

function customPieChart(dataStore) {
    var store = new Ext.data.JsonStore({
        fields: ['responseType', 'total'],
        data:  dataStore
    });


    var pan =  new Ext.Panel({
        width: 400,
        height: 400,
        title: 'Non Acceptable to Acceptable Chart',
        items: {
            store: store,
            xtype: 'piechart',
            dataField: 'total',
            categoryField: 'responseType',
            extraStyle:
            {
                legend:
                {
                    display: 'bottom',
                    padding: 5,
                    font:
                    {
                        family: 'Tahoma',
                        size: 13
                    }
                }
            }
        }
    });
     var win = new Ext.Window({ items: pan, layout: 'fit', width: 500, height: 300}).show();    
}

提前感谢

ExtJS3使用Flash渲染图表。因此,首先要检查的是确保您的InternetExplorer8中安装了Flash并正常工作

如果您尝试在本地运行,您还可以查看这个答案: