MPAndroidChart
MPAndroidChart copied to clipboard
How to show chart data with given time gap automatically on X axis
Hi Folks, Greetings of the day!
Suppose I have three values in X axis:
- 10:00 AM
- 12:00 PM
- 08:00 PM
Now I want com.github.mikephil.charting.charts.LineChart to display values automatically within time period. If the data (ILineDataSet) contains 11:00 AM then it should be drawn between 10:00 AM &12:00 PM automatically.
I'm using v3.1.0-alpha currently. Can anyone tell me the method to achieve it? How do I set the gap in the Entry(x:Float)?
Thanks In Advance! :)
I also have this problem.
use timestamp to have a continuous interval , so add 3 visible label :
10:00 AM
12:00 PM
08:00 PM
note that the number of labels (visible and invisible ) must be equal to the number of entities