-
8 Nov 2012 7:08 AM #1
Unanswered: How do I have different labels on the pie and on the pie's legend
Unanswered: How do I have different labels on the pie and on the pie's legend
Hi
I've been trying desperately to have a pie hold a custom field on the pie area (i.e percent of the total), and a label of the related field on the legend..but for some reason it only allows to have the same label on the pie and on the legend
How do I do it? :-)
Thanks
-
10 Nov 2012 6:14 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
- Answers
- 3107
It shows based on the title or yField value of the series
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.
-
10 Apr 2013 5:41 AM #3
I used something like this:
"on" the series, I get the browsers, but in the legend is "Visits Visits Visits Visits Visits"Code:{ type: 'pie', xField: 'Visits', label: { field: 'Browsers' } }
how do I get the browsers into the legend?Using Ext JS 4.1 (commercial) to build GUIs for web analytics.


Reply With Quote