PhilJay / MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.59k stars 9.02k forks source link

How to prevent onChartTranslate(...) if chat not moving #3219

Open hram opened 7 years ago

hram commented 7 years ago

If drag chart to the last Entry and continue grad it I will receive onChartTranslate(...) Or for chart that autoscaled verticaly if drag chart up or down I will receive onChartTranslate(...)

Why chart behaves this way? In this cases actually char stops/not moved and if I see that why chart calls onChartTranslate(...) I need to synchronize lines and arrows that I draw over candle chart.

Thank you very much for library

Herosik8 commented 7 years ago

I have the same problem

yusufceylan commented 5 years ago

I have the same problem too. onChartTranslate called after onChartGestureEnd even if I stop scrolling, Any solution?