REQUIRED INFORMATION
Ext version tested:
  • Sencha Touch 1.
Browser versions tested against:
  • Safari 5
Description:
  • Ext.Chart.Series.Pie - does not display donut when there is only on data set
Steps to reproduce the problem:
  • Create an Ext.Chart Pie, config a donut value
The result that was expected:
  • pie chart with donut should appear
The result that occurs instead:
  • a pie without a donut, i.e. a chart as a complete circle is drawn
Test Case:
Code:
    window.store1 = new Ext.data.JsonStore({
            fields: ['year', 'value','iname'],            
           data: [{name: '2008', value: '90',iname: '29'},]  
});
......Ext.chart.Panel({            store: store1,               
animate:true,               
 series: [{                   
type: 'pie',                      
 field: 'value',                 
 donut: 50,                 
  label: {                        
      contrast: true,                       
     field: ['name'],                        
   }              
 }],
})
HELPFUL INFORMATIONScreenshot or Video:
  • attached
Debugging already done:
  • none
Possible fix:
  • not provided
Additional CSS used:
  • only default ext-all.css
  • custom css (include details)
Operating System:[LIST][*]Mac OS X/LIST]