1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    8
    Vote Rating
    0
    tronlt is on a distinguished road

      0  

    Default Highcharts with Sencha Touch

    Highcharts with Sencha Touch


    Has anyone experimented with Highcharts or any other JS graphing packages and Sencha Touch? Any help is appreciated?

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,055
    Vote Rating
    659
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Specifically, what are you asking?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User blessan's Avatar
    Join Date
    May 2010
    Posts
    316
    Vote Rating
    1
    blessan is on a distinguished road

      1  

    Default


    have tried raphael with touch.

  4. #4
    Sencha User
    Join Date
    Jun 2010
    Posts
    8
    Vote Rating
    0
    tronlt is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    Specifically, what are you asking?
    Ideally it would be a plugin similar to this for ExtJS:

    http://www.sencha.com/forum/showthre...ght=highcharts

  5. #5
    Sencha User
    Join Date
    Jun 2010
    Posts
    8
    Vote Rating
    0
    tronlt is on a distinguished road

      0  

    Default


    Quote Originally Posted by blessan View Post
    have tried raphael with touch.
    Can you share an example or pseudo code?

  6. #6
    Sencha User dannmartens's Avatar
    Join Date
    Aug 2010
    Posts
    13
    Vote Rating
    0
    dannmartens is on a distinguished road

      0  

    Default


    I've managed to integrate Raphaël content with Touch: http://yfrog.com/mt4xjp

    I hope the Touch team will introduce official support for Raphaël content soon. There doesn't appear to be a forum at sencha.com to discuss Raphaël issues, yet. It's still not clear to me what the relationship is between Sencha, Sencha Labs and Raphaël, or what the future will hold in terms of integration.

  7. #7
    Sencha User
    Join Date
    Jun 2010
    Posts
    18
    Vote Rating
    0
    ksystems is on a distinguished road

      0  

    Default


    I am currently looking for a Sencha Touch adapter for HighCharts (v2.1). I notice there is one that works with ExtJS and HighCharts 2.0.5 but this doesn't work correctly with 2.1. The big problem occurs when you toggle a data series off and then on - the whole thing falls apart.

    I know 2.1 introduced some new animations etc. but I can't determine if it's an issue with the adapter trying to access ExtJS features that don't work the same or it's an issue with HighCharts new animation being incompatible with the adapter. I suspect it is the latter.

    If anyone is aware of updates to this I'd be keen to know. Meanwhile I'll look into it myself.

  8. #8
    Sencha User
    Join Date
    Jun 2010
    Posts
    18
    Vote Rating
    0
    ksystems is on a distinguished road

      0  

    Default


    I can confirm it is the new animations stuff that is breaking the adapter, specifically the animate and stop functions of the adapter. I swapped these out for the jQuery ones and it all works fine. Obviously if you are going to do that you may as well just use the full jQuery adapter. Looking at the Sencha Touch API there doesn't seem to be a way to actually animate a particular element like in ExtJS (wonder what the rationale behind that was? Use CSS transitions but why not provide an API into it like others?). Anyway thats that plan scuppered for now. Might revisit later.

  9. #9
    Ext JS Premium Member
    Join Date
    Nov 2009
    Posts
    7
    Vote Rating
    0
    aleksf is on a distinguished road

      0  

    Default


    Quote Originally Posted by dannmartens View Post
    I've managed to integrate Raphaël content with Touch: http://yfrog.com/mt4xjp
    Would you mind sharing the code? Anyone else had success integrating js graphics (charts, in particular) with sencha touch?

Similar Threads

  1. Debugging Sencha Touch
    By profunctional in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 31 Jan 2012, 1:20 AM
  2. Ext JS and Sencha Touch!
    By mcamer in forum Sencha Touch 1.x: Discussion
    Replies: 8
    Last Post: 1 Dec 2010, 10:19 AM
  3. Sencha Touch on iPhone v1 / iPod touch v1 ?
    By palnap in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 28 Oct 2010, 5:30 PM
  4. Features of Sencha Touch
    By metalsiren in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 21 Jul 2010, 8:02 AM

Thread Participants: 5