0
我需要在加載窗口對話框添加到我的圖表中,同時獲取其數據,類似於網格中的bufferRenderer,它應該是一個簡單的加載窗口與網格中的加載對話框大小相同。我只是在尋找一些簡單的東西。如何將加載窗口添加到sencha加載中的圖表中
我認爲你應該使用maskElement,但我不知道肯定,我只需要圖表元素被隱藏或變灰。
繼承人我的代碼
{
xtype: 'panel',
title: 'Charts',
items: [
{
xtype: 'component'
},
{
xtype: 'polar',
height: 520,
id: '',
width: '',
title: 'Pie Chart',
colors: [
'#115fa6',
'#94ae0a',
'#a61120',
'#ff8809',
'#ffd13e',
'#a61187',
'#24ad9a',
'#7c7474',
'#a66111'
],
store: 'GenderStore',
series: [
{
type: 'pie',
label: {
field: 'types',
display: 'rotate',
contrast: true,
font: '12px Arial',
color: '#fff'
},
xField: 'counter',
yField: 'types'
}
],
interactions: [
{
type: 'rotate'
}
]
}
]
}