I am creating a simple pie chart using the code below. The challenge I am having is that I can not seem to be able to change the color of the series and the legend does not render.

Any suggestions or feedback?

Thanks, Dean.


PHP Code:
var store = new Ext.data.JsonStore({
            
fields: ['status''total'],
            
data: [{
                
status'Red',
                
total150
            
},{
                
status'Yellow',
                
total245
            
},{
                
status'Green',
                
total117
            
}]
        });

        var 
statusChart = new Ext.Window({
            
width400,
            
height400,
            
title'Pie Chart with Legend - Favorite Season',
            
items: {
                
storestore,
                
xtype'piechart',
                
dataField'total',
                
categoryField'status',
                
series : [{
                    
style : {
                        
colors : [0xC5FF6B0xFFFF6B0xFFB56B0xFF6B6B// 3
                    
}
                }],
                
//extra styles get applied to the chart defaults
                
extraStyle:
                {
                    
legend:
                    {
                        
display'bottom',
                        
padding5,
                        
font:
                        {
                            
family'Tahoma',
                            
size13
                        
}
                    }
                }
            }
        });