I am using MPAndroid Chart Library's Candle Stick Chart.
like i am showing financial data from year 2011 tills date for every 10 minutes.
so i have lots of candle data in one screen.
i have zoomed in the values using
but i have to scroll to right to see the last candle data.
i have gone through the documentations, but not able to get how to fix the screen to latest data to swipe to left to see the previous
Try with this:
mChart.moveViewToX(xVals.size()); //Here mChart is your chart object and xVals contains values of X axis.
This answer will solve your problem.
This will show maximum and minimum 7 candles in screen at a time. To view more you have to swipe.