extjs在Ext.grid.panel中嵌入条形图系列

extjs在Ext.grid.panel中嵌入条形图系列,extjs,extjs4,Extjs,Extjs4,是否有一种方法可以将整数数据绘制/可视化为一个系列条形图,而不是Ext.panel.grid中的数字 Ext.onReady(function () { Ext.define('spaceManager', { extend: 'Ext.data.Model', fields: [{ name: 'type' }, { name: 'totalRecsCnt', typ

是否有一种方法可以将整数数据绘制/可视化为一个系列条形图,而不是Ext.panel.grid中的数字

Ext.onReady(function () {
    Ext.define('spaceManager', {
        extend: 'Ext.data.Model',
        fields: [{
            name: 'type'
        }, {
            name: 'totalRecsCnt',
            type: 'int'
        }, {
            name: 'usedRecsCnt',
            type: 'int'
        }, {
            name: 'dSize',
            type: 'int'
        }]
    });

    var grid2 = Ext.create('Ext.grid.Panel', {
        store: getLocalStore(),
        selModel: sm,
        columns: [{
            text: "Type",
            width: 100,
            dataIndex: 'type'
        }, {
            text: "Total Records Count",
            dataIndex: 'totalRecCnt'
        }, {
            text: "Used Records Count",
            dataIndex: 'usedRecCnt'
        }, {
            text: "Disk Size",
            width: 135,
            dataIndex: 'dSize'
        }],
        columnLines: true,
        width: 600,
        height: 300,
        frame: true,
        title: 'Space Manager',
        iconCls: 'icon-grid',
        renderTo: Ext.getBody()
    });
});

我要做的是从spaceManager模型中为dSize字段绘制条形图-dSize列应绘制为条形图系列数据,而不是显示为数字列表

你想做这样的事吗?