I am having an issue with some of my (hundreds) of variables with mostly annual values having data only for certain years. So, instead of 1990,1992,1992,.... they have 1990,2000,2005,2010 ... or 1990,1995,2000,2005,2008
The resulting chart shows then for the same distance between all years, although, in the case of 1990,2000,2005,2010 the distance between 1990 and 2000 is (two times) larger than between the following years. Here is an example.
Now, I haven't seen any Highcharts internal solution to this. Would have been nice to have a parameter to be specified like "distribute years correctly on x-axis". I guess that doesn't exist.
Which means I would need to code something in PHP. Some sort of "injection" into the two arrays (x-axis, y-axis) which would fill the x-axis-array with the missing years and the y-axis-array with NULL values.
Thanks for any hints!