'MPAndroidChart how can I stop the line when there is no data yet?

I am using MPAndroidLineChart to display some data over the course of a week. This works fine. My problem is this If, for example, today is Wednesday, I'd like the line chart to abruptly stop at the Wednesday point on the X axis, although the axis goes from Sunday to Saturday. I have attached an example of my current chartenter image description here



Solution 1:[1]

don't set zero value to Thu Fri Sat...But still show X axis Thu Fri Sat

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rickon Gao