Home Forums Chart Support toolTip contentFormatter – take earlier dataPoint when not present Reply To: toolTip contentFormatter – take earlier dataPoint when not present

#29412

And not to create another topic (this one should be easier, I think)
Is there a way to set AxisX using dates from dataPoints and current date to, lets say, 2 week difference?

first dataPoint: 2020, 1, 1
current Date: 2020, 5, 30

dataPoints (multiple different values of Date)

2020, 1, 3
2020, 1, 18
2020, 2, 4
2020, 2, 13
2020, 2, 19
etc.

I would like to have AxisX to contain:

2020, 1, 1
2020, 1, 15
2020, 2, 1
2020, 2, 15
etc.
until current date: 2020, 5, 30 (last one should 'change' everyday)