1. #1
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default 2.1.0 B2 Charts

    2.1.0 B2 Charts


    Hi,
    Has anyone successfully implemented Charts (ST 2.1.0 B2) in SA. I am having big problems and would love to see a small project where it works?
    I keep getting:
    Code:
    Uncaught TypeError: Cannot call method 'substring' of undefined

  2. #2
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Sorry for the early bump. But I really need this to work very soon. Any?

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,882
    Vote Rating
    101
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Hrm? There is no Touch 2.1.x support yet in Architect.

    You could implement this via an override.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #4
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by aconran View Post
    Hrm? There is no Touch 2.1.x support yet in Architect.
    I assumed it was possible because of your answer here:
    http://www.sencha.com/forum/showthre...l=1#post870869

    Quote Originally Posted by aconran View Post
    You could implement this via an override.
    How is this possible?

  5. #5
    Sencha User
    Join Date
    Aug 2012
    Posts
    81
    Vote Rating
    0
    heloWelo is on a distinguished road

      0  

    Default


    Switch to code view, click Override button: hand coding...

  6. #6
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    I am very confused now.
    What I need is to implement Sencha Touch 2.1 B2 so I can use the build-in Charts. If I just point to the 2.1B2 source I get errors when I try to create a chart.

    How should a Override fix it?

  7. #7
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,882
    Vote Rating
    101
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Quote Originally Posted by hotdp View Post
    I am very confused now.
    What I need is to implement Sencha Touch 2.1 B2 so I can use the build-in Charts. If I just point to the 2.1B2 source I get errors when I try to create a chart.

    How should a Override fix it?
    You get errors when? When the app is running in the browser or inside Architect?

    The reason an override 'fixes' it is that we don't run overrides within Architect. The code is not being executed in the canvas. Also, when you point the library's base path configuration to something new (like 2.1b2) we continue to use whatever known good stable version the library is associated with in this case 2.0.1.1.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  8. #8
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by aconran View Post
    You get errors when? When the app is running in the browser or inside Architect?

    The reason an override 'fixes' it is that we don't run overrides within Architect. The code is not being executed in the canvas. Also, when you point the library's base path configuration to something new (like 2.1b2) we continue to use whatever known good stable version the library is associated with in this case 2.0.1.1.
    I Get the error above in the browser. I add the chart manually in the code on a button event.
    I would love to know if any have the charts working?

  9. #9
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,882
    Vote Rating
    101
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    The error is probably a bug in the beta or a bug in your code. I'd suggest you post in the touch forums about the configuration you are using etc.

    On a side note, I'm using touch charts in a weekend project I'm writing and they are working, but I did run into a couple bugs within charts that I reported to the touch team.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  10. #10
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by aconran View Post
    The error is probably a bug in the beta or a bug in your code. I'd suggest you post in the touch forums about the configuration you are using etc.

    On a side note, I'm using touch charts in a weekend project I'm writing and they are working, but I did run into a couple bugs within charts that I reported to the touch team.
    Cool. I woul like to know if that project is created with SA? my code is copy paste from kitchen sink.

Thread Participants: 3

Tags for this Thread

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