22 Mar 2012 8:14 PM #1
Unanswered: Add remove fields from chart
How i can dynamically add and remove fields from a chart.
I want to start with a chart without any fields only y axis value. And based on the json data pulled i will populate the fields.
I got a very large data set and want to provide the users ability to select the data points. Mostly for comparison.
23 Mar 2012 5:29 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
It may be safer to remove the chart and add it again.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
23 Mar 2012 10:56 AM #3
i got a large set of data and want to show 6 out of 60 series at one time.
i can plot all but that will be messy.
i can turn that on off as well
what i want is that i should be able to define the fields while js. May be add then and remove then in Ext.chat.ChartPanel and render the charts.
The other approach is to pull the js through a php script but i would love to do all through js only.