ExtJS 3.2饼图未在IE 8中呈现
我已经用ExtJS3.2创建了一个饼图,但它没有在InternetExplorer8中呈现,有人能告诉我问题出在哪里吗。下面是我的饼图代码: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.
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并正常工作 如果您尝试在本地运行,您还可以查看这个答案: