lets-plot-kotlin icon indicating copy to clipboard operation
lets-plot-kotlin copied to clipboard

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

Open AndreiKingsley opened this issue 1 year ago • 4 comments

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

AndreiKingsley avatar Jan 24 '24 10:01 AndreiKingsley

Try tooltips = layerTooltips(*emptyArray())

alshan avatar Jan 24 '24 16:01 alshan

image Doesn't work

AndreiKingsley avatar Jan 25 '24 09:01 AndreiKingsley

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.

OLarionova-HORIS avatar Jan 25 '24 10:01 OLarionova-HORIS

OK, but I think that would be a useful feature

AndreiKingsley avatar Jan 25 '24 10:01 AndreiKingsley

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

OLarionova-HORIS avatar Mar 13 '24 13:03 OLarionova-HORIS

Fixed in LPK v4.7.0

OLarionova-HORIS avatar Mar 19 '24 10:03 OLarionova-HORIS