Skip to content

API to hide/show toolbox #15020

@dirslashls

Description

@dirslashls

What problem does this feature solve?

It is possible to hide/show toolbox using

chart.setOption({ toolbox: { show: true/false } });

However, this resets the state of the chart such as the current interaction within a sunburst chart.

Looking for an API or a way to set the option for toolbox to hide/show without resetting the state. The toolbox hide/show is done based on whether the mouse is on the chart or not using the mouseenter and mouseleave events.

What does the proposed API look like?

If it's an API, it can be something like chart.showToolbox(true/false).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in EnglishenhancementstaleInactive for a long time. Will be closed in 7 days.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions