JetBrains / JetBrains/lets-plot

Feature Request: Permanent Tooltip / Annotate last datapoint

Open
#1,244 6 comments 0 reactions 0 assignees View on GitHub
* enhancement
Dominant language
Kotlin
Stars
1.8k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Hi all
when exporting plots as static assets (such as PNG), tooltips are obviously no longer working. So sometimes it would be handy to automatically (based on provided mappings) annotate/label certain data points permanently. geom_text / geom_label would be potential options, however, this gets awfully complicated if you have for instance a line plot with various lines (just as an example).
I found this R ggplot package that somewhat overcomes this and somewhat does what I envision: https://cmap-repos.github.io/cmapplot/reference/geom_text_lastonly.html however, this does not completely solve all the issues.

Since we are already able to specify tooltips and format them to our preferences, wouldn't it be neat if we could have the already defined tooltip be permanently visible (without hovering) for a given x-axis datapoint (or automagically for "the first"/"the last" datapoint) if we either say so explicitely or call ".to_png()"?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.