Skip to content Skip to sidebar Skip to footer

Sometimes Line Doesn't Shows On The Graph- A Chartengine

I have developed a application using a chart engine. and am using achartengine for drawing graphs. I have drawn a graph using time chart. here dates are coming on x-axis and value

Solution 1:

you can turn hardware acceleration off

 android:hardwareAccelerated="false"

to disable it for a particular view (This worked for me)

try:

  View.setLayerType(View.LAYER_TYPE_SOFTWARE, null);

I've added this after rendering the graph but it should work everywhere.

Post a Comment for "Sometimes Line Doesn't Shows On The Graph- A Chartengine"