Skip to content

fix(highlighter): show default highlighted radius with hidden dots#926

Merged
markov00 merged 1 commit intoelastic:masterfrom
markov00:2020_11_30-fix_hidden_point_highlighter
Nov 30, 2020
Merged

fix(highlighter): show default highlighted radius with hidden dots#926
markov00 merged 1 commit intoelastic:masterfrom
markov00:2020_11_30-fix_hidden_point_highlighter

Conversation

@markov00
Copy link
Copy Markdown
Collaborator

Summary

This commit fixed the highlighted radius on a line/area point when the markAccessor is configured by
the point visibility on the series is turned off

fix #679

A screenshot test is added to check that

Checklist

  • Unit tests were updated or added to match the most common scenarios

This commit fixed the highlighted radius on a line/area point when the markAccessor is configured by
the point visibility on the series is turned off

fix elastic#679
@markov00 markov00 added bug Something isn't working :xy Bar/Line/Area chart related labels Nov 30, 2020
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #926 (dfa67ae) into master (6bad227) will increase coverage by 0.10%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #926      +/-   ##
==========================================
+ Coverage   70.08%   70.18%   +0.10%     
==========================================
  Files         341      357      +16     
  Lines       11012    10647     -365     
  Branches     2386     2165     -221     
==========================================
- Hits         7718     7473     -245     
+ Misses       3280     3089     -191     
- Partials       14       85      +71     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/chart_types/xy_chart/state/utils/utils.ts 94.54% <0.00%> (-1.60%) ⬇️
src/utils/dimensions.ts 71.42% <0.00%> (-28.58%) ⬇️
src/chart_types/xy_chart/utils/panel_utils.ts 72.72% <0.00%> (-19.59%) ⬇️
src/utils/data_generators/data_generator.ts 45.45% <0.00%> (-9.10%) ⬇️
...t/state/selectors/compute_small_multiple_scales.ts 86.95% <0.00%> (-8.70%) ⬇️
src/components/portal/utils.ts 21.42% <0.00%> (-7.15%) ⬇️
.../partition_chart/state/selectors/compute_legend.ts 79.06% <0.00%> (-5.72%) ⬇️
...state/selectors/get_internal_is_tooltip_visible.ts 75.00% <0.00%> (-5.00%) ⬇️
...hart/state/selectors/get_elements_at_cursor_pos.ts 90.47% <0.00%> (-4.77%) ⬇️
src/components/tooltip/tooltip.tsx 59.37% <0.00%> (-4.63%) ⬇️
... and 195 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6bad227...dfa67ae. Read the comment docs.

Copy link
Copy Markdown
Collaborator

@nickofthyme nickofthyme 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 8b167a4 into elastic:master Nov 30, 2020
@markov00 markov00 deleted the 2020_11_30-fix_hidden_point_highlighter branch November 30, 2020 16:43
markov00 pushed a commit that referenced this pull request Dec 4, 2020
# [24.3.0](v24.2.0...v24.3.0) (2020-12-04)

### Bug Fixes

* **highlighter:** show default highlighted radius with hidden dots ([#926](#926)) ([8b167a4](8b167a4)), closes [#679](#679)
* **xy_chart:** improve line joins rendering ([#920](#920)) ([ec8041a](ec8041a))
* point highlight based on geom position and transform ([#934](#934)) ([7198b5d](7198b5d))

### Features

* allow no results component, don't require series ([#936](#936)) ([4766c23](4766c23))
* improved domain error handling ([#933](#933)) ([94534a5](94534a5))
@markov00
Copy link
Copy Markdown
Collaborator Author

markov00 commented Dec 4, 2020

🎉 This PR is included in version 24.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@markov00 markov00 added the released Issue released publicly label Dec 4, 2020
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
# [24.3.0](elastic/elastic-charts@v24.2.0...v24.3.0) (2020-12-04)

### Bug Fixes

* **highlighter:** show default highlighted radius with hidden dots ([opensearch-project#926](elastic/elastic-charts#926)) ([351c20c](elastic/elastic-charts@351c20c)), closes [opensearch-project#679](elastic/elastic-charts#679)
* **xy_chart:** improve line joins rendering ([opensearch-project#920](elastic/elastic-charts#920)) ([9a6771c](elastic/elastic-charts@9a6771c))
* point highlight based on geom position and transform ([opensearch-project#934](elastic/elastic-charts#934)) ([196ee8d](elastic/elastic-charts@196ee8d))

### Features

* allow no results component, don't require series ([opensearch-project#936](elastic/elastic-charts#936)) ([6be5c8b](elastic/elastic-charts@6be5c8b))
* improved domain error handling ([opensearch-project#933](elastic/elastic-charts#933)) ([f480054](elastic/elastic-charts@f480054))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released Issue released publicly :xy Bar/Line/Area chart related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show default highlighted radius with hidden dots

3 participants