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

Add option for interactions to allow tooltips include invisible points #10361

Closed
yhvicey opened this issue May 19, 2022 · 0 comments · Fixed by #10362
Closed

Add option for interactions to allow tooltips include invisible points #10361

yhvicey opened this issue May 19, 2022 · 0 comments · Fixed by #10362

Comments

@yhvicey
Copy link
Contributor

yhvicey commented May 19, 2022

Feature Proposal

Related to #10289.
In some cases, we need to view points outside the canvas (typically when we set min/max for axes) in tooltips.

E.g., We have a chart that in most cases its points will be within [-0.1, 0.1] but sometimes it'll have spikes that can reach [-200, 200], which will cause users not able to see values within its normal ranges. To mitigate this, we set the min/max for the chart to [-0.5, 0.5] and ignore spikes, but values of those spikes cannot be viewed using tooltips as they are dropped due to their invisibility.

To support both cases, we'd like to have an option allowing developers decide if invisible points should be included in interactions or not.

Possible Implementation

Will submit a PR for this.

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

Successfully merging a pull request may close this issue.

1 participant