Dependency Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0034848 | mantisbt | reports | public | 2024-10-12 15:38 | 2024-10-22 09:43 |
| Reporter | dregad | Assigned To | dregad | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Target Version | 2.28.0 | Fixed in Version | 2.28.0 | ||
| Summary | 0034848: MantisGraph: view all data values when hovering over line | ||||
| Description | Currently when hovering above one of the data lines of the Issue Trends chart, a tooltip appears showing the actual value of the nearest point. It can be difficult to get the corresponding values for the other datasets, particularly when there are many points on the graph, as is the case for our own tracker. It would be useful to see all data points in the tooltip. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
Wouldn't it be nice/possible to let the values follow the mouse? examples: https://lookerstudio.google.com/embed/u/0/reporting/c14a5cfc-cab7-4812-848c-0369173148ab/page/ZwmOB |
|
I'm not sure what you mean, the pop-up does follow the mouse |
|
|
Yes, but now you have to follow the (green in your example) line to accomplish that. In my example you can hover anywhere over the graph to see that. |
|
|
Yes this can technically be done, adding That being said, this is a line graph, so following a data line makes sense to me. I'm not convinced there is added value in allowing hovering anywhere, particularly considering that the placement of the tooltip has only 2 options out of the box (nearest and average) causing it to feel somewhat random. To be honest I don't feel like writing custom code to position it for example where the mouse pointer is. The vertical bar that appears in your example is nice too and may help understanding where the pop-up belongs, but this is also custom code. |
|
|
ok tnx for the information :-) I guess upgrading chart.js (0034847) might improve this already without doing a lot extra. |
|
|
MantisBT: master 21115a53 2024-10-12 13:47 Details Diff |
Improve tooltip for Issue Trend chart The tooltip now shows all 3 values when hovering over any line instead of just the one from the nearest dataset. Fixes 0034848 |
Affected Issues 0034848 |
|
| mod - plugins/MantisGraph/files/MantisGraph.js | Diff File | ||
related to
child of
duplicate of