Forum /
Ext JS Community Forums 3.x /
Ext 3.x: Help & Discussion /
pie chart data store
pie chart data store
Hi, I have a pretty simple pie chart with a JsonStore as its data source. I dont want use the actual value in the dataField but rather that value after a function has been applied to it. So instead of dataField:'cost' I'd like to use something that would allwo me to return cost*someotherValue.
A bit like how a renderer can be used for a grid.
Anyone know of how to achieve this with a chart.
Sencha - Community Support Team
I recommend using the CalcRecord user extension to create an extra field that holds that value.
The only other solution would be to override the Ext.Chart.refresh method.
Hi all,
Can you please help me out in making this kind of graph. I tried many things but was unsuccessful.
http://img375.imageshack.us/img375/3442/graphyi.jpg
thanks,
sb
Sencha - Community Support Team
I don't think you can do that in a single chart. You'll need 3 charts for that.
Thanks Condor, I'll try that
Similar Threads
By Bleak in forum Ext 3.x: Help & Discussion
Replies: 1
Last Post: 6 Feb 2010, 10:05 PM
By ektanit in forum Ext 3.x: Help & Discussion
Replies: 11
Last Post: 15 Jan 2010, 4:33 AM
By e-tip in forum Ext 3.x: Help & Discussion
Replies: 0
Last Post: 24 Nov 2009, 7:12 AM
By ektanit in forum Ext 3.x: Help & Discussion
Replies: 2
Last Post: 23 Jun 2009, 9:40 AM
By ruchika in forum Ext 3.x: Help & Discussion
Replies: 1
Last Post: 23 Jun 2009, 9:18 AM
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us