-
19 Apr 2012 11:25 AM #1
Unanswered: fromDate and toDate on Time Axis don't limit store data displayed
Unanswered: fromDate and toDate on Time Axis don't limit store data displayed
I may be assuming wrong, but setting fromDate, toDate and constrain = true on a Time axis don't seem to limit the range of records graphed from a store. Should this work? My store records each have a Date field and I want to graph a subset range of values from the store. How can this be accomplished?
For reference, here is my Axis config:
Code:{ type: 'Time', position: 'bottom', fields: ['localDate'], title: 'Day', dateFormat: 'M d', fromDate: new Date('3/1/12'), toDate: new Date('4/1/12'), constrain: true }
-
20 Apr 2012 8:11 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,631
- Vote Rating
- 435
- Answers
- 3106
With constrain true it *should* only show the records within the from/toDate configs. We are still in beta so expect a somewhat bumpy ride as we work through bugs.
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.


Reply With Quote