yunjianwu / achartengine

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

Graphical glitches with ScrollView #150

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Place a subclass of GraphicalView inside a ScrollView
2. Use an emulator, or some device with a trackball.
3. Scroll all the way down, giving focus to the chart.
4. Scroll all the way up. 

What is the expected output? What do you see instead?
Various graphical glitches in the chart are apparent. Attached screenshot.

Please provide a source code snippet that we can use to replicate the issue.

Attached. 
com.androsz.electricsleepbeta.widget.SleepChart is the offending widget (inside 
a ScrollView).

What version of the product binary library are you using?
r316 from SVN

Please provide any additional information below.

Original issue reported on code.google.com by jondwil...@gmail.com on 2 Nov 2011 at 12:26

Attachments:

GoogleCodeExporter commented 9 years ago
Are you setting setInScroll(true) in the renderer?

Original comment by colinswe...@gmail.com on 2 Nov 2011 at 7:16

GoogleCodeExporter commented 9 years ago
setInScroll(true) worked. I wonder if it would be feasible to automagically 
detect if some parent of the Renderer's view is in a Scrollable view. Eh...

Original comment by jondwil...@gmail.com on 2 Nov 2011 at 7:42

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 10 Dec 2011 at 2:58