Readonlychartthe chart the listener represents
the last highlighted object (via touch)
Protectedmthe last touch gesture that has been performed
Protectedminteger field that holds the current touch-state
Constructor with initialization parameters.
Protected StaticDRAGProtected StaticNONEProtected StaticPINCH_Protected StaticPOST_Protected StaticROTATEProtected StaticX_Protected StaticY_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
ProtectedperformProtected Staticdistancereturns the distance between two points
TouchListener for Bar-, Line-, Scatter- and CandleStickChart with handles all touch interaction. Longpress === Zoom out. Double-Tap === Zoom in.