antvis / antvis/G2Plot

🤔 [QUESTION]

Open
#3,641 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

HI! When i am trying to use tooltip sometimes i dont need to display information, but i dont now how.

If approve certain condition I don't need to show anything
For example:

![image](https://github.com/antvis/G2Plot/assets/89924297/ca722559-ccbd-40f3-922c-308f19f8009b)

this code show the tooltip as this way
![image](https://github.com/antvis/G2Plot/assets/89924297/131caef4-7d54-49f2-8314-be2fc8dc0dd8)

In conclusion, i want to appear the tooltip but empty, as the example without the blue circle and the points.
* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

The issue names no source file, test, chart type, or configuration entry point. Start by reproducing the tooltip behavior described in the issue and identify the relevant tooltip configuration; done means establishing whether a conditional empty tooltip is supported and covering the behavior with an appropriate test or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.