PDA

View Full Version : Highcharts with Sencha Touch



tronlt
5 Aug 2010, 12:36 PM
Has anyone experimented with Highcharts or any other JS graphing packages and Sencha Touch? Any help is appreciated?

evant
5 Aug 2010, 5:16 PM
Specifically, what are you asking?

blessan
5 Aug 2010, 8:36 PM
have tried raphael with touch.

tronlt
6 Aug 2010, 5:11 AM
Specifically, what are you asking?

Ideally it would be a plugin similar to this for ExtJS:

http://www.sencha.com/forum/showthread.php?93669-Highcharts-adapter-and-plugin-for-ExtJS&highlight=highcharts

tronlt
6 Aug 2010, 5:12 AM
have tried raphael with touch.

Can you share an example or pseudo code?

dannmartens
23 Aug 2010, 4:07 AM
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.

ksystems
24 Nov 2010, 5:11 AM
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.

ksystems
24 Nov 2010, 5:46 AM
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.

aleksf
12 Jan 2011, 3:34 PM
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?