JetBrains / lets-plot

Multiplatform plotting library based on the Grammar of Graphics
https://lets-plot.org
MIT License
1.54k stars 49 forks source link

Interactive links in tooltipss/labels/texts #1091

Open pvinokurov opened 4 months ago

pvinokurov commented 4 months ago

It would be nice to have interactive links in labels/texts for page anchors or external links.

pvinokurov commented 4 months ago

Currently, tooltips are non-interactive and read-only. It would be useful to:

  1. Make tooltips sticky. In other words not to close it on a mouse move or loosing a focus as it works in Grafana. Optionally, a tooltip could be rendered to the left/right to the chart at the fixed place as it done for legends.
  2. Make possible to put a hyperlink to a tooltip. It allows navigating either within the same page with charts or external pages.
alshan commented 1 week ago

"In the latest release of Grafana (version 8.5.0), there has been a change in the behavior of tooltips. Previously, tooltips would remain open until manually closed, but now they will close automatically when you move your mouse away from the trigger element. " ~ Grafana Grot )

Anyway, how do tooltips trigger in Grafana ? Mouse hover? click?

pvinokurov commented 1 week ago

Lets take a look at https://play.grafana.org/d/000000016/time-series-graphs In my opinion, it's convenient enough. Copying a tooltip row on the left click also can be usefull.