Search code examples
androidachartengineartifact

Achartengine: 1:graph artifact 2: x-axis labeling


1: I use "achartengine" for a line chart. When i click several times on the screen i get a artifact (see image). Its like a copy of my line chart placed in the right chart side. It disappears when i click again several times on the screen. However, does anyone know how to avoid this.

2: Is there an option to set a scale factor the the automatic x-axis labeling? I would like to keep the current automatic labeling (i get continuously data) and divide it by 10.

enter image description here


Solution

    1. renderer.setInScroll(true);
    2. renderer.setXLabels(someValue);