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 correct translation depending on the provided x and y touch points
GESTURE RECOGNITION BELOW
Protectedperformsets the starting angle of the rotation, this is only used by the touch listener, x and y is the touch position
Sets the deceleration-angular-velocity to 0f
updates the view rotation depending on the given touch position, also takes the starting angle into consideration
Protected Staticdistancereturns the distance between two points
TouchListener for Pie- and RadarChart with handles all touch interaction.