Hi all
I have been trying to set up strip lines on my chart. The x axis has datetime fields, with all dates in July (month 7) of 2019, however I need to set up the striplines using the same year, day, hour, minute HOWEVER I need to use June (month 6)!!
What am I doing wrong?
My jsfiddle demonstrates this:
https://jsfiddle.net/ChrisEvans_UK/qkr2bu17/9/
Can anyone help?
A second point, I seem to have to include the following code just to get the chart to work in the first place (before I try adding striplines):
for (var i = 0; i < rawData.length; i++) {
rawData[i][“x”] = new Date(rawData[i][“x”]);
}
Do I really need that?
Any help is greatly appreciated.
Regards
Chris