I have a graph which my xAxis labels start at 2001- 2019 I am using Date.UTC to handle this.
series: {
pointStart: Date.UTC(2001, 0, 1),
pointInterval: 365 * 24 * 3600 * 1000 / 4 //one fourth of year
}
When actually displaying on the graph every other year is not show on the Axis for example my graph Reads, 2002 2004 2006 2008 2010
.... etc
How can I adjust my code so that axis displays every year? I am expecting to see an outcome like 2001, 2002 , 2003 , 2004 , 2005
.....
I've tried setting a tickInterval: 1
but this ended up displaying more the months and years. In this situation I would like to only see the years displaying for every year.
Here is a jsfiddle