i am using achartengine to draw a graph, but i don't know how to align the x labels with the relative points in the graph. To add Y labels i use this method:
private void addSampleData() {
int i=0;
for(i=0; i<count; i++){
mCurrentSeries.add(i+1, list_peso[i]);
mCurrentSeries2.add(i+1, list_peso_ideale[i]);
list_peso_string[i] = Double.toString(list_peso[i]);
mRenderer.addXTextLabel(i+1, list_data[i]);
mRenderer.addYTextLabel(i+1, list_peso_string[i]);
}
it works for the Y labels, but not for the X labels. How van i do?
Thanks in advance.