I have a series of x-values being dates and y-values that I want to plot with Apexcharts. However, the dates do not have the same distance between each other. Apexcharts assigns them all the same interval although the data is not periodic. Is there any smart way to tackle this? In the end the dates should be placed on the x-axis with an interval between them according to the number of days between two dates.
Came up with the solution myself, posting this for future readers. Patryk Laszuk gave an important hint in the comments:
data:
and the x-values for categories:
will distribute the x-values evenly over the x-axis without taking the time between values into account for spacing.