Verteletsky / afreechart

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

Lines and symbols in legend on ICS and JellyBean #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create XYLineChart on a ICS or JellyBean device
2.
3.

What is the expected output? What do you see instead?
Symbols not showing in graph. Lines and symbols not showing in the chart's 
legend. The same code produces the correct result on GingerBread devices

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by gmlaud...@gmail.com on 3 Sep 2012 at 2:45

Attachments:

GoogleCodeExporter commented 8 years ago
This does not happen in the emulator, where the graphs show up correctly on any 
version of Android. But 2 out of 2 of my "real" devices with Ice Cream Sandwich 
and Jelly bean do not show the graphs properly, just like show in the attached 
screenshot. Any ideas?

Original comment by gmlaud...@gmail.com on 4 Sep 2012 at 9:13

GoogleCodeExporter commented 8 years ago
sorted. switch off hardware acceleration for the view:

chartView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);

Original comment by gmlaud...@gmail.com on 4 Sep 2012 at 5:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Confirmed, that happens on Galaxy S2, not on Galaxy Nexus, maybe is a hardware 
fault?

Original comment by mrwalter...@gmail.com on 7 Mar 2013 at 1:41

GoogleCodeExporter commented 8 years ago
Confirmed. ASUS Transformer T700 running 4.2.1 has same problem. 

chartView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);

fixed the problem.

Mille Grazie GM!!!

Harry

Original comment by harry.hi...@gmail.com on 18 Aug 2013 at 10:26