Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hide only main tooltip (not side one)? #232

Closed
AndreiKingsley opened this issue Jan 24, 2024 · 6 comments
Closed

How to hide only main tooltip (not side one)? #232

AndreiKingsley opened this issue Jan 24, 2024 · 6 comments
Assignees

Comments

@AndreiKingsley
Copy link
Contributor

For example, here, I want to hide main tooltips, anв still have the sides:
image

@alshan
Copy link
Collaborator

alshan commented Jan 24, 2024

Try tooltips = layerTooltips(*emptyArray())

@AndreiKingsley
Copy link
Contributor Author

image Doesn't work

@OLarionova-HORIS
Copy link
Contributor

The point is to hide the main tooltip but keep the axis tooltip, right?
Unfortunately, there is no such mechanism in the current version.

By the way, disableSplitting() does not affect axis tooltips. It moves "side tooltips" to the main tooltip, and by "side tooltips" we mean positional tooltips such as boxplot has.

@AndreiKingsley
Copy link
Contributor Author

OK, but I think that would be a useful feature

@OLarionova-HORIS OLarionova-HORIS self-assigned this Jan 25, 2024
@OLarionova-HORIS
Copy link
Contributor

OLarionova-HORIS commented Mar 13, 2024

The next release will add the ability to hide the general tooltip (without hiding the axis tooltips) using
theme(tooltip = "blank").
Commit: JetBrains/lets-plot@020b1e3

@OLarionova-HORIS
Copy link
Contributor

Fixed in LPK v4.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants