Package 

Class PieRadarChartTouchListener

  • All Implemented Interfaces:
    android.view.GestureDetector.OnContextClickListener , android.view.GestureDetector.OnDoubleTapListener , android.view.GestureDetector.OnGestureListener , android.view.View.OnTouchListener

    
    public class PieRadarChartTouchListener
    extends ChartTouchListener<PieRadarChartBase<out Object>>
                        

    Touchlistener for the PieChart.

    • Method Summary

      Modifier and Type Method Description
      boolean onTouch(View v, MotionEvent event)
      void onLongPress(MotionEvent me)
      boolean onSingleTapConfirmed(MotionEvent e)
      boolean onSingleTapUp(MotionEvent e)
      void setGestureStartAngle(float x, float y) sets the starting angle of the rotation, this is only used by the touchlistener, x and y is the touch position
      void updateGestureRotation(float x, float y) updates the view rotation depending on the given touch position, alsotakes the starting angle into consideration
      void stopDeceleration() Sets the deceleration-angular-velocity to 0f
      void computeScroll()
      • Methods inherited from class com.github.mikephil.charting.listener.ChartTouchListener

        endAction, getLastGesture, getTouchMode, setLastHighlighted, startAction
      • Methods inherited from class android.view.GestureDetector.SimpleOnGestureListener

        onContextClick, onDoubleTap, onDoubleTapEvent, onDown, onFling, onLongPress, onScroll, onShowPress, onSingleTapConfirmed, onSingleTapUp
      • Methods inherited from class android.view.View.OnTouchListener

        onTouch
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait