I have a chartjs graph with an x-axis consisting of the hours of the past three days. Because it is 3 days, each hour appears in the x-axis 3 times. I want to draw vertical lines at each 12:00am, but I am not sure how to differentiate the first 12:00am with the second and third.
annotation: {
annotations: [{
type: 'line',
id: 'vLine',
mode: 'vertical',
display: true,
scaleID: 'x-axis-0',
value: '12:00am',
borderWidth: 1,
borderColor: 'gray',
label: {
enabled: true,
position: "center",
content: 'day bar'
}
}]
}
Here is what the graph currently looks like
Would each time need a unique label, or is it possible to differentiate between the 3 identical x-axis times without changing their x-axis labels?