问题描述:需要在实现一个Ext.window.Window弹窗,里面包含一个图标和一个表格。出现的问题是只能显示出一个组件。
初始代码:
Ext.create('Ext.window.Window',{
title: '基于位置的故障数占比',
width: 800,
height: 600,
layout: 'fit',
modal: true,
items:[
{
xtype:'cartesian',
animation: !Ext.isIE9m && Ext.os.is.Desktop,
background: '#ffffff',
height: 300,
colors: [
'#6aa5db'
],
bind:{
store: '{dashboard.QGBarStore}'
},
axes: [
{
type: 'category',
fields: [
'xvalue'
],
hidden: false,
position: 'bottom'
},
{
type: 'numeric',
fields: [
'yvalue'
],