Code: Select all
currentDateIndicator: {
label: {
format: 'Today (%b %d, %Y)',
y: -100, align: 'center',
},
},
min: today.getTime() - (10 * day),
max: today.getTime() + (45 * day),
See here in the screenshot the area in gray. There is no red line running through it, unfortunately.
I tried to find a workaround using plotLines but to no avail:
Code: Select all
plotLines: [{
value: today.getTime() + (0 * day),
width: 0,
color: 'none',
dashStyle: 'dash',
margin: 0,
label: {
text: '|<br>|<br>',
align: 'center',
y: -10,
x: 0,
}
}],