wangyao5 / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Static versus dynamic chart #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My comment is more ideas for future and for testing, then bug.

Current solution is excelent to display static final data. Please try to chech 
the functionality if the application add data to the series dynamicaly (ie. 
every second new value). rthere are some problems, which is necessary to solve:
1) first touch starts pan mode (calling Pan.apply() function. Then we are 
missing functionality to see last values. We have to scroll and scroll.... 
Event if reset zoom, the initial functionaliti is lost. Solution is to call 
renderer.setXAxisMin("<0").
2) missing function, that the chart is in touch mode.
3) function to display last N values (scrolling XY chart in time) is missing 
also.

Regards
Vladimir

Original issue reported on code.google.com by vl.pri...@gmail.com on 2 Feb 2012 at 7:06

GoogleCodeExporter commented 9 years ago
the 3) idea can be implemented by yourself without changing achartengine 
library.

Do below steps once a new (x,y) pair added in the chart.
1.setXAxisMin()
2.setXAxisMax()

But I also think it would be handy if the library provides such functions.

Regards,
Wenshan

Original comment by renws1990@gmail.com on 3 Feb 2012 at 12:48

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 10 May 2012 at 9:25