I am using AchartEngine for my android phone applications. Everything looks fine but the thickness of a line for the rendered graphs does not appeared to be good. I wanted to increase the thickness for these graphs.
OK, I got the answer. It should be something like below:
int length = renderer.getSeriesRendererCount();
for (int i = 0; i < length; i++) {
XYSeriesRenderer seriesRenderer = (XYSeriesRenderer) renderer
.getSeriesRendererAt(i);
seriesRenderer.setLineWidth(2f);
}
来源:https://stackoverflow.com/questions/4678324/setting-line-thickness-for-a-graph-achart-engine