棒グラフの実装に成功しました。ここで、ユーザーのタッチをトラップしたいと思います。Interactions を使用してみましたが、クリックされたアイテムを取得できません。
2 に答える
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.
私がオンラインで見つけることができる煎茶チャートは、彼らがHTML5を使用していると言っています。その場合は、touchstart、touchmove、touchendなどを使用する以外は、マウスクリックのようにキャプチャできるはずです。
http://www.html5rocks.com/en/mobile/touch.html#toc-events
ああ、読んでください。また、jqtouchを使用します。
http://www.sencha.com/blog/introducing-sencha-touch-html5-framework-for-mobile/によると
jqtouchでイベントを取得する例を次に示します。