How MPAndroidChart display all xaxis values

Get the number of items as an int from your dynamic list and use in setLabelCount


Check out the documentation of the XAxis.

And the method setLabelsToSkip(...). If you set that to 0, none of the labels in your x-axis will be skipped during rendering.

Update v3.0.0

As of this release, the x-axis is treated equally to the y-axis. If you want to display all labels, you can do so by using the axis.setLabelCount(...) method.