Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
donut not visible in pie charts
REQUIRED INFORMATION
Ext version tested:
Browser versions tested against:
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:
Debugging already done:
Possible fix:
Additional CSS used:
- only default ext-all.css
- custom css (include details)
Operating System:
[LIST][*]Mac OS X/LIST]
-
Work has gone into the charts for ST2.