PDA

View Full Version : donut not visible in pie charts



shydreamz
11 Jun 2012, 3:22 AM
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:
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]

mitchellsimoens
11 Jun 2012, 5:08 AM
Work has gone into the charts for ST2.