Readonly
chartthe chart the listener represents
the last highlighted object (via touch)
Protected
mthe last touch gesture that has been performed
Protected
minteger field that holds the current touch-state
Constructor with initialization parameters.
Protected
Static
DRAGProtected
Static
NONEProtected
Static
PINCH_Protected
Static
POST_Protected
Static
ROTATEProtected
Static
X_Protected
Static
Y_Returns the last gesture that has been performed on the chart.
returns the touch mode the listener is currently in
returns the matrix object the listener holds
Returns a recyclable MPPointF instance. returns the correct translation depending on the provided x and y touch points
Protected
performProtected
Static
distancereturns the distance between two points
TouchListener for Bar-, Line-, Scatter- and CandleStickChart with handles all touch interaction. Longpress === Zoom out. Double-Tap === Zoom in.