DLu / ros_metrics

14 stars 6 forks source link

Overlay vertical line on plots with multiple dataseries #9

Closed gavanderhoorn closed 4 years ago

gavanderhoorn commented 4 years ago

Not sure how to describe this better, but I'm thinking of a vertical line which follows the mouse cursor when hovering over a plot and shows that values of all dataseries plotted at that particular X value.

On fi this would show the total nr of questions, nr of answered and open questions and percentage at the same time, instead of having to hover over all plots separately.

DLu commented 4 years ago

Would something like this work: https://www.chartjs.org/samples/latest/tooltips/custom-points.html

gavanderhoorn commented 4 years ago

Yes, that's exactly what I was thinking of.

Doesn't draw an actual line, but that is not too important.