Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    29
    Vote Rating
    0
    matt_d_rat is on a distinguished road

      0  

    Default Unanswered: Uncaught TypeError: store Object 'Store Name' has no method 'on'

    Unanswered: Uncaught TypeError: store Object 'Store Name' has no method 'on'


    I am getting the following error when attempting to pass the name of a registered store to the store parameter for the chart:

    Code:
    Uncaught TypeError: store Object 'Store_Name' has no method 'on'
    Does the touch-charts support passing stores in this way?

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    No, not by name currently.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    29
    Vote Rating
    0
    matt_d_rat is on a distinguished road

      0  

    Default


    Ok, thanks for your reply.

    How would you recommend I do it then? All my stores are registered. Would I be able to get the store via the Ext.StoreMgr.get('Store'), assign it to a variable and pass that to the chart instead?

    Any ETA on when touch-charts will support passing stores by name?

  4. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Quote Originally Posted by matt_d_rat View Post
    Ok, thanks for your reply.

    How would you recommend I do it then? All my stores are registered. Would I be able to get the store via the Ext.StoreMgr.get('Store'), assign it to a variable and pass that to the chart instead?

    Any ETA on when touch-charts will support passing stores by name?
    That should work, I'll see about adding that in before release.

  5. #5
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    I can verify this is working with the latest build.

  6. #6
    Sencha User
    Join Date
    Mar 2011
    Posts
    29
    Vote Rating
    0
    matt_d_rat is on a distinguished road

      0  

    Default


    Quote Originally Posted by Jamie Avins View Post
    I can verify this is working with the latest build.
    Excellent. Thank you! :-) Love love love the touch charts, very slick.

Thread Participants: 1

Tags for this Thread