Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(line_annotation): add hideLines and hideTooltips props to spec #154

Merged

Conversation

emmacunningham
Copy link
Contributor

@emmacunningham emmacunningham commented Apr 5, 2019

Summary

re: #150

This PR introduces two props to LineAnnotationSpec: hideLines and hideTooltips which can be used to toggle visibility of annotation lines and their tooltips when set to true.

annotation_hide_props

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

  • This was checked for cross-browser compatibility, including a check against IE11
  • Proper documentation or storybook story was added for features that require explanation or tutorials
  • Unit tests were updated or added to match the most common scenarios
  • Each commit follows the convention

@emmacunningham emmacunningham added the wip work in progress label Apr 5, 2019
@codecov-io
Copy link

codecov-io commented Apr 5, 2019

Codecov Report

Merging #154 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #154      +/-   ##
==========================================
+ Coverage   94.06%   94.07%   +<.01%     
==========================================
  Files          34       34              
  Lines        1753     1755       +2     
  Branches      223      224       +1     
==========================================
+ Hits         1649     1651       +2     
  Misses         90       90              
  Partials       14       14
Impacted Files Coverage Δ
src/lib/series/specs.ts 100% <ø> (ø) ⬆️
src/state/annotation_utils.ts 100% <100%> (ø) ⬆️

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 3ab9985...2f4098b. Read the comment docs.

@emmacunningham emmacunningham added :annotation Annotation (line, rect, text) related issue enhancement New feature or request and removed wip work in progress labels Apr 5, 2019
@emmacunningham emmacunningham requested a review from markov00 April 5, 2019 23:30
Copy link
Member

@markov00 markov00 left a comment

Choose a reason for hiding this comment

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

Code LGTM, tested locally on chrome

@emmacunningham emmacunningham merged commit ba806b1 into elastic:master Apr 8, 2019
markov00 pushed a commit that referenced this pull request Apr 8, 2019
# [3.8.0](v3.7.2...v3.8.0) (2019-04-08)

### Features

* **line_annotation:** add hideLines and hideTooltips props to spec ([#154](#154)) ([ba806b1](ba806b1))
@markov00
Copy link
Member

markov00 commented Apr 8, 2019

🎉 This PR is included in version 3.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@markov00 markov00 added the released Issue released publicly label Apr 8, 2019
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
# [3.8.0](elastic/elastic-charts@v3.7.2...v3.8.0) (2019-04-08)

### Features

* **line_annotation:** add hideLines and hideTooltips props to spec ([opensearch-project#154](elastic/elastic-charts#154)) ([f9ebdec](elastic/elastic-charts@f9ebdec))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:annotation Annotation (line, rect, text) related issue enhancement New feature or request released Issue released publicly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants