wakaxx / afreechart

Automatically exported from code.google.com/p/afreechart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lines and symbols in legend on ICS and JellyBean

GoogleCodeExporter opened this issue · comments

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:

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

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

[deleted comment]
Confirmed, that happens on Galaxy S2, not on Galaxy Nexus, maybe is a hardware 
fault?

Original comment by mrwaltercool on 7 Mar 2013 at 1:41

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