1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    10
    Answers
    1
    Vote Rating
    0
    slrobertson1 is on a distinguished road

      0  

    Default 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
                        }

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,731
    Answers
    3362
    Vote Rating
    754
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar