Pergunta

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.

Foi útil?

Solução

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);
        }
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top