A
A
Artur Galyaev2021-06-21 16:01:14
JavaScript
Artur Galyaev, 2021-06-21 16:01:14

How to show all labels of all datasets in Chart JS line chart on hover?

https://www.chartjs.org/docs/latest/samples/line/l...
Here is a Line-chart, It is 60d08ccccd93e751234030.png
necessary that when hovering over one point, as on the screen, the labels of all datasets are shown
(that is, both yellow and blue and red dots and not just yellow) that lie on February.
How to do this using Chart js?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2021-06-21
@0xD34F

options: {
  interaction: {
    mode: 'index',
  },
},

https://jsfiddle.net/umj0r6fk/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question