1

棒グラフの実装に成功しました。ここで、ユーザーのタッチをトラップしたいと思います。Interactions を使用してみましたが、クリックされたアイテムを取得できません。

4

2 に答える 2

1

you have to create your own function in touch-charts-debug.js and refer that function in interactions instead of type:'iteminfo' in your chart.

I have tried with this option it works fine for me As am able to show drill down chart on tapping the bar.

于 2012-01-13T11:03:53.197 に答える
0

私がオンラインで見つけることができる煎茶チャートは、彼らがHTML5を使用していると言っています。その場合は、touchstart、touchmove、touchendなどを使用する以外は、マウスクリックのようにキャプチャできるはずです。

http://www.html5rocks.com/en/mobile/touch.html#toc-events

ああ、読んでください。また、jqtouchを使用します。

http://jqtouch.com/

http://www.sencha.com/blog/introducing-sencha-touch-html5-framework-for-mobile/によると

jqtouchでイベントを取得する例を次に示します。

http://code.google.com/p/jqtouch/wiki/CallbackEvents

于 2011-11-30T16:07:46.423 に答える