wangyao5 / achartengine

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

TimeSeries disappear when hardware acceleration is turned on #371

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Dear AChartEngine Team,

first, let me thank you for an awesome library! Thank you!
Please keep up the good work.

Issue:
TimeSeries disappear on certain zoom & pan levels when the hardware 
acceleration is turned on. You can see the issue in the 3 attached screenshots. 

It reminded me of the following error: 
http://code.google.com/p/achartengine/issues/detail?id=57 that should have been 
fixed, afaik.

LogCat reports the following in debug mode when a TimeSeries disappeard and you 
kepp on zooming/panning the chart on a Nexus 7 (2013) running Jelly Bean 4.3: 
...
11-20 20:47:47.953: W/OpenGLRenderer(1804): Path too large to be rendered into 
a texture
11-20 20:47:47.963: W/OpenGLRenderer(1804): Path too large to be rendered into 
a texture
11-20 20:47:47.983: W/OpenGLRenderer(1804): Path too large to be rendered into 
a texture
...

Switching off the hardware acceleration resolves this issue on the nexus 7 (see 
the attached code). 
Devices running API level < 11 (Honeycomb) seem not to be affected (tested with 
a 2.2 device).

What steps will reproduce the problem?
Please use the attached Activity (TestActivity.java) to reproduce this issue. 
Code was stripped from anything unnecessary.

What is the expected output?
TimeSeries should be visible at every zoom & pan level (if they are in the 
current viewing window of course) with hardware acceleration turned on.

What version of the product binary library are you using?
achartengine-1.1.0.jar

Please provide any additional information below.
- compiled against api level 19 (kitkat)
Manifest:
- android:hardwareAccelerated="true"
- android:targetSdkVersion="19"
- android:minSdkVersion="7"

Cheers,
Chris

Original issue reported on code.google.com by kuecheko...@gmail.com on 20 Nov 2013 at 8:13

Attachments:

GoogleCodeExporter commented 9 years ago
please look issue 368, an attached patch should help you

Original comment by zaitse...@gmail.com on 4 Dec 2013 at 12:59

GoogleCodeExporter commented 9 years ago
Does this replicate on Time charts only?

Original comment by dandrome...@gmail.com on 8 Jan 2014 at 3:28

GoogleCodeExporter commented 9 years ago
XYSeries is also affected.
I can reproduce the same 'effect' on my nexus 7 using the XYSeries instead of a 
TimeSeries.
Cheers

Original comment by kuecheko...@gmail.com on 8 Jan 2014 at 6:12

GoogleCodeExporter commented 9 years ago
I have the same issue with my chartEngine implementation, below is the 
screenshot.

Original comment by oday.ma...@gmail.com on 31 May 2014 at 9:28

Attachments: