Skip to content

fix(heatmap): pick correct brush end value#1230

Merged
markov00 merged 2 commits intoelastic:masterfrom
markov00:2021_07_05-fix_heatmap_brush_x
Jul 6, 2021
Merged

fix(heatmap): pick correct brush end value#1230
markov00 merged 2 commits intoelastic:masterfrom
markov00:2021_07_05-fix_heatmap_brush_x

Conversation

@markov00
Copy link
Copy Markdown
Collaborator

@markov00 markov00 commented Jul 5, 2021

Summary

The heatmap brush selection, on temporal heatmaps, has been fixed correctly computing the visible area and limiting the area to the only hovered cells.

Details

A recent merged change #1212 caused this issue. The brush area was computed without considering the right end value for time series.
The PR adds also two more unit test to cover the case

Issues

fix #1229

Checklist

  • The proper chart type label was added (e.g. :xy, :partition) if the PR involves a specific chart type
  • The proper feature label was added (e.g. :interactions, :axis) if the PR involves a specific chart feature
  • Whenever possible, please check if the closing issue is connected to a running GH project
  • Unit tests were updated or added to match the most common scenarios

@markov00 markov00 added bug Something isn't working :interactions Interactions related issue regression :heatmap Heatmap/Swimlane chart related issue labels Jul 5, 2021
Copy link
Copy Markdown
Contributor

@darnautov darnautov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@markov00 markov00 merged commit 57678fe into elastic:master Jul 6, 2021
@markov00 markov00 deleted the 2021_07_05-fix_heatmap_brush_x branch July 6, 2021 12:34
nickofthyme pushed a commit that referenced this pull request Jul 6, 2021
# [31.1.0](v31.0.0...v31.1.0) (2021-07-06)

### Bug Fixes

* **heatmap:** pick correct brush end value ([#1230](#1230)) ([57678fe](57678fe)), closes [#1229](#1229)

### Features

* **a11y:** accessible goal and gauge chart ([#1174](#1174)) ([ffa8822](ffa8822)), closes [#1160](#1160)
@nickofthyme
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 31.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nickofthyme nickofthyme added the released Issue released publicly label Jul 6, 2021
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working :heatmap Heatmap/Swimlane chart related issue :interactions Interactions related issue regression released Issue released publicly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Brush area is off by 1 cell

3 participants