Skip to content Skip to sidebar Skip to footer

Displaying Time Chart In Achartengine Based On Months And Years

I have a line graph based on my database values where y axis has values and x axis has dates. As of now the chart is displayed date wise. But i want to display it different time pe

Solution 1:

From the AChartEngine point of view, you can tweak the displaying period of time by changing the visible area and repainting the graph:

renderer.setXAxisMin(minDate);
renderer.setXAxisMax(maxDate);
chartView.repaint();

Post a Comment for "Displaying Time Chart In Achartengine Based On Months And Years"