achartengine graph redraws incorrectly when list component below it (not overlapping) is interacted with

StackOverflow https://stackoverflow.com/questions/16916926

문제

I have a graph that takes up 50% of the screen and a custom list component below it. The graph has zoom and interaction turned off.

If i move the list up and down the graph seems to redraw itself incorrectly, note the graph is not moving up and down the screen, it stays in same position. Its as iff the list is sliding under the graph causing it to incorrectly redraw itself.

Anybody seen this before?

도움이 되었습니까?

해결책

In order to fix this, just add this line:

renderer.setInScroll(true);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top