I am using MPAndroidChart for charting. I am building a line chart which has multiple dataset objects.
From the examples provided by MPAndroidChart I can observe tha
The solution is simple.
Create an x-values array ranging from 0 to 36:
ArrayList xvals = new ArrayList();
for(int i = 0; i <= 35; i++) {
xvals.add("Label"+i);
}
// create your entries...
// add the data...
In that way you can display entries with x-indices ranging from 0 to 35. Make sure you set the correct x-index for each entry you want to display.