1
votes

I have created Horizontal bar chart successfully, but

in which i have 20 items but i want to display 5 items on y-axis and others are display when scroll down..

Is there any function or way to solve this.

I have asked question with image on this url : how to ellipsize label of y-axis with bar chart using achartengine

1

1 Answers

1
votes

You can control the visibility of the items by restricting the visible area:

renderer.setXAxisMin(minX);
renderer.setXAxisMax(maxX);

There are similar APIs for the Y axis.