I want to show always first and last label of x axis.What method I suppose to use?
How ?
How?
Set this.
xAxis.setLabelCount(12, true); // e.g, 12 is 12 full months.
Guess we would need something like YAxis.setDrawTopYLabelEntry() for the x axis as well. Btw, there also isn't a YAxis.setDrawBottomYLabelEntry() although there is internal field for that (which is never set). Any particular reason that the bottom setter is missing for YAxis and that there is no such functionality for XAxis at all @PhilJay ?
There is an open PR ready to be merged which adds the missing method for the YAxis.