PDA

View Full Version : pie chart is not displaying in ext js 3.4



Basavaraj Dani
15 Mar 2012, 2:50 AM
hi,
i have code in ext js 3.0 so i am changing into ext js 3.4..but my pie chart is not displaying..
i called my pie chart like this...


layout:'anchor',
frame:true,
anchor:'100% 100%',
xtype: 'piechart',
renderTo: 'container',
id:'appHomeChart',
showInLegend:true,

items: [{
store: appPieHomeStore,
xtype: 'piechart',
dataField: 'jobCount',
categoryField: 'Status',
//extra styles get applied to the chart defaults
extraStyle:
{
legend:
{
display: 'centre',
padding: 20,
font:
{
family: 'Tahoma',
size: 12
},
border:{
color:'#CBCBCB',
size:2

}
}
}
}]

mitchellsimoens
15 Mar 2012, 9:53 AM
Inspect the DOM. Is it rendered just with no size?