I have a barchart with a itemtap listener defined in the series config. If the barchart is displayed as vertical (default) all works fine. However, if I use flipXY: true to render the chart horizontally, then the itemtap still behaves as though the bars are vertical, even though visually they are horizontal. This can lead to some very unexpected results when you tap a bar.
If anyone can post a workaround that would be awesome :-)
Sencha Touch version tested:
Browser versions tested against:
Chrome (OSX) Version 28.0.1500.71
Safari (iPad2) IOS 6.1.2
itemptap targets do not correspond to bars on chart.
Steps to reproduce the problem:
Create a bar chart and set flipXY true to make horizontal bars. Add itemtap handler to log to console when user taps a specific bar.
The result that was expected:
Tapping a bar on the chart logs the bar value to console
The result that occurs instead:
Tapping in the position the bar would occupy if the chart was vertical (default) has the desired response.
Last edited by neilybod; 24 Jul 2013 at 12:38 AM.
Reason: Incomplete information/not in required format