I'm trying to implement a graph with scattered date properties but chart is rendering all the dates with the same distance from each other.
{
"ndvi values": [
0.1158,
0.1975,
0.1913,
0.2137,
0.1603,
0.13,
0.246,
0.249,
0.1955,
0.124,
0.1854,
0.2721,
0.2095,
0.1357,
0.2444
],
"Julian dates": [
2458208.0,
2458386.0,
2458476.0,
2458566.0,
2458653.0,
2458746.0,
2458836.0,
2458921.0,
2459026.0,
2459111.0,
2458391.0,
2458476.0,
2458566.0,
2458746.0,
2458836.0
]
}
This is the json data that I get from back-end api,the date array is something like this [ 2018/2/12, 2018/218, 2018/5/19, 2019/1/1]. as you see the dates are ordered in the right and ascending way. is there any way making the graph steps more logical according to data that we have?