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 remove side tooltips without anchor? #189

Closed
AndreiKingsley opened this issue May 24, 2023 · 4 comments
Closed

How to remove side tooltips without anchor? #189

AndreiKingsley opened this issue May 24, 2023 · 4 comments
Assignees
Milestone

Comments

@AndreiKingsley
Copy link
Contributor

Is it possible to get rid of side tooltips while keeping main tooltips the dynamic position of the main tooltips?
image

@OLarionova-HORIS
Copy link
Collaborator

Could you please show the code of the example?

In general, if we talk about side tooltips, they are not shown when transferred to a general tooltip via line():

geomLineRange(
    tooltips = layerTooltips().line("min:|^ymin").line("max:|^ymax"
) { ymin = "min"; ymax = "max" }

— we'll see a two-line tooltip and no side tooltips.

To hide tooltips from the layer, use tooltips = tooltipsNone.

@AndreiKingsley
Copy link
Contributor Author

For example, I want to display layerTooltips with 1 line and remove side tooltips here:
image

@AndreiKingsley
Copy link
Contributor Author

AndreiKingsley commented May 25, 2023

Perhaps we should separate the side and axis tooltips into a separate API? Because the side tooltips formatting in layerTooltips() is not obvious at all. And also here we could hide side tooltips.

@alshan
Copy link
Collaborator

alshan commented Aug 24, 2023

@alshan alshan closed this as completed Aug 24, 2023
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