Thursday 15 August 2013

android - How to set bar width using achartengine. My last bar is Squeezed out -


I have a barrette with 3 bars shown, three times displayed with different width. How to set the equal width for all bars?

This is a snapshot of my belt

Enter image details here

Please give any suggestions!

Any help would be appreciated!

It seems that you have 2 series of data in a series that contains 2 items and green color There is only one item in one. When there is only one item in your chain, it can mean the width of the bar using:

  renderer.setBarWidth (width);   

Another solution is to add at least two items to your series.

No comments:

Post a Comment