android - How to get count of visible points on LineChart in AChartEngine -
is there method can give me count of visible points (not points) in achartengine ?
example : if have total 20 points 5 display rest shown when user panning or zooming. result 5 when zoom out there 10 points visible time result 10.
is there method using can achieve ?
please me.
thanks in advance...
there isn't such method, can compute value in quite easy manner. can x , y axis visible area calling renderer.getxaxismin(), renderer.getxaxismax() , similar renderer.getyaxismin(), renderer.getyaxismax().
then, can iterate on items in series , check if inside visible ranges above.
Comments
Post a Comment