I have found a solution but still need help.
I"m using xAxis.plotBands to add transparent white on top of my column bar starting January 2 2022.
It works fine but my problem is that the plotBand is starting in the middle of the column. And when I use week or month grouping it's even worse. With month grouping, it looks like the plotBand is starting in the middle of January.
See my capture for "by day"
- Capture.PNG (7.39 KiB) Viewed 776 times
And this is my parameters
Code: Select all
plotBands: [{
label: {
text: 'New data',
align: 'left',
x: -50
},
color: "rgba(255,255,255,.5)",
from: Date.UTC(2022, 0, 2),
to: today,
zIndex: 10,
}],
How can I make sure that the plotband is starting at the left of the column instead of the middle?
Thanks!