Skip to content

Bad tooltip placement for single bars #770

@nickofthyme

Description

@nickofthyme

Describe the bug
When displaying a single bar, stacked or non-stacked, the tooltip is shown within the highlighted area.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://elastic.github.io/elastic-charts/?path=/story/bar-chart--single-data-stacked-chart
  2. Hover over the stacked bars
  3. Notice the placement of the tooltip

Expected behaviour
The tooltip attempts to place itself outside of the area.

Screenshots
Screen Recording 2020-07-29 at 10 03 AM

Version (please complete the following information):

  • Elastic Charts: 19.8.2

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

:tooltipRelated to hover tooltip:xyBar/Line/Area chart relatedbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions