public interface OnChartGestureListener
| Modifier and Type | Method and Description |
|---|---|
void |
onChartDoubleTapped(android.view.MotionEvent me)
Callbacks when the chart is double-tapped.
|
void |
onChartFling(android.view.MotionEvent me1,
android.view.MotionEvent me2,
float velocityX,
float velocityY)
Callbacks then a fling gesture is made on the chart.
|
void |
onChartGestureEnd(android.view.MotionEvent me,
ChartTouchListener.ChartGesture lastPerformedGesture)
Callbacks when a touch-gesture has ended on the chart (ACTION_UP, ACTION_CANCEL)
|
void |
onChartGestureStart(android.view.MotionEvent me,
ChartTouchListener.ChartGesture lastPerformedGesture)
Callbacks when a touch-gesture has started on the chart (ACTION_DOWN)
|
void |
onChartLongPressed(android.view.MotionEvent me)
Callbacks when the chart is longpressed.
|
void |
onChartScale(android.view.MotionEvent me,
float scaleX,
float scaleY)
Callbacks when the chart is scaled / zoomed via pinch zoom / double-tap gesture.
|
void |
onChartSingleTapped(android.view.MotionEvent me)
Callbacks when the chart is single-tapped.
|
void |
onChartTranslate(android.view.MotionEvent me,
float dX,
float dY)
Callbacks when the chart is moved / translated via drag gesture.
|
void onChartGestureStart(android.view.MotionEvent me,
ChartTouchListener.ChartGesture lastPerformedGesture)
me - lastPerformedGesture - void onChartGestureEnd(android.view.MotionEvent me,
ChartTouchListener.ChartGesture lastPerformedGesture)
me - lastPerformedGesture - void onChartLongPressed(android.view.MotionEvent me)
me - void onChartDoubleTapped(android.view.MotionEvent me)
me - void onChartSingleTapped(android.view.MotionEvent me)
me - void onChartFling(android.view.MotionEvent me1,
android.view.MotionEvent me2,
float velocityX,
float velocityY)
me1 - me2 - velocityX - velocityY - void onChartScale(android.view.MotionEvent me,
float scaleX,
float scaleY)
me - scaleX - scalefactor on the x-axisscaleY - scalefactor on the y-axisvoid onChartTranslate(android.view.MotionEvent me,
float dX,
float dY)
me - dX - translation distance on the x-axisdY - translation distance on the y-axis