Mouseover not firing with multiple dotted-lines chart#31

Labels

Milestone

Assignee

2 participants

The charts are awesome. However I cannot figure out why the mouseover event is not firing when there are multiple lines in the chart. For example, on the red and green dotted-line, when I point the mouse cursor at the middle of the chart the tooltip is not appearing. It is only appearing on the blue line's dots and on the last dot of the other lines.

It turned out that the "fill" elements from above lines represented layers over the lower lines and were preventing the mouseover event to fire. My workaround was to comment out the line in the source code for the fills:

Agreed. I spent a lot of time figuring out what is preventing the mouseover event so altering the js code was the first thing that gave me the results I needed. Anyway what you propose is a better way to do it. I will close this issue and hope that someone else will find it useful too. Keep on with the good work.