Skip to content

Brushing on last bucket in histogram produce wrong results #1371

@markov00

Description

@markov00

Describe the bug
Brushing on the last bucket of a histogram chart doesn't correctly report the brushed extent

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://elastic.github.io/elastic-charts/?path=/story/interactions--brush-selection-tool-on-histogram-time-charts&globals=theme:light
  2. Open the Actions panel
  3. Brush the last bin on the right
  4. The action reports a wrong extent

Expected behaviour
The brush event should correctly report a sorted extent

Screenshots
see linked kibana issue

Version (please complete the following information):

  • Elastic Charts: latest/34

Additional context
Add any other context about the problem here.

Errors in browser console
n/a

Kibana Cross Issues

Metadata

Metadata

Assignees

Labels

:interactionsInteractions related issue:xyBar/Line/Area chart relatedImpact:HighbugSomething isn't workingkibana cross issueHas a Kibana issue counterpartreleasedIssue released publicly

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