Skip to content

Exclude non-visible points from tooltip geometries #1044

@nickofthyme

Description

@nickofthyme

Is your feature request related to a problem? Please describe.
When setting the domain in which you are excluding data points, the data values are still shown in the tooltip even though they are outside of the domain. I think they should be excluded from the tooltip IndexedGeometries because they are not within the domain.

Screen.Recording.2021-03-02.at.05.09.27.PM.mp4

Describe the solution you'd like
The IndexedGeometries should be filtered to account for the domain of the chart and exclude any geometry values outside of the domain.

See https://codesandbox.io/s/stupefied-lamarr-jzgpi?file=/src/App.tsx

Checklist

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present

Metadata

Metadata

Assignees

No one assigned

    Labels

    :dataData/series/scales related issueenhancementNew feature or request

    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