Questions tagged [chartjs-plugin-annotation]
35 questions
0
votes
1 answer
ChartJS Annotations display custom label
is there any way to display a custom label on mouse hover chartJS annotations like it displayed on ChartJS?
For example, when you create a line chart of points, and you hover one of the points, it displays the label of that point.
I want something…

Igor
- 9
- 1
0
votes
2 answers
Annotation problem with ng2-charts in Angular 11
i need to show a fixed line in my chart (like "Test Label" in the image):
So I added chartjs-plugin-annotation in to my Angular 11 project so I have those versions:
"chart.js": "^2.9.3",
"chartjs-plugin-annotation": "^1.0.2",
"ng2-charts":…

Nammen8
- 619
- 1
- 11
- 31
0
votes
1 answer
Chart.JS - multiple - box - annotations - displays only the last box
I am using Chart.Js and chartjs-plugin-annotation to display multiple line graphs and annotations to split the chart area in seven zones of different colors.
Right now I am trying with two boxes to start with.
X-Axis - displays time - in HH:m…

RedBottleSanitizer
- 83
- 2
- 18
0
votes
1 answer
Draw vertical thresholds with chartjs-plugin-annotation and vue-chartjs
I try to position 2 vertical lines which are my thresholds for list of results for some tests.
My problem is that when I try to take value which is not part of the results, The lines are not shown.
With the following code I see the…

ATT
- 921
- 3
- 13
- 30
0
votes
1 answer
Chartjs annotations-plugin: Can I add multiple vertical lines to identically named x-axis labels?
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…

Dan
- 67
- 6