-
7 Jun 2012 4:49 AM #1
Unanswered: pie not displayed as donut
Unanswered: pie not displayed as donut
Sometimes i only have one single value in my data item, n while creating a pie chart out of it.
i get a chart as a circle but i m looking for display this chart with donut. i.e. as empty inner circle in a pie
Is there a possible way to achieve it.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'], } }], })
-
9 Jun 2012 7:30 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,122
- Vote Rating
- 453
- Answers
- 3161
That should work, may possibly be a bug.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
11 Jun 2012 3:07 AM #3
@simoens
it does not work, seems to me as bug as i checked it with sencha-chart 2.0 beta and touch-chart debug.js as well
bug reported on http://www.sencha.com/forum/showthre...586#post828586
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote