Join GitHub today
Allow hoverable to just consider X coordinate in line charts #588
Original author: tac...@gmail.com (April 08, 2011 22:44:17)
Use case is a touch device where the user slides is finger horizontally on the chart, without caring to move it up or down to get near to the points (he would probably keep his finger vertically far from the points to be able to see them as they highlight).
Currently the easiest way to do so is to hack the source like this:
Having an option or having the change to substitute findNearbyItem with a custom function would be nice.
Original issue: http://code.google.com/p/flot/issues/detail?id=509