Skip to content

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

@yhvicey

Description

@yhvicey

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions