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

[XY] Fixes the threshold visibility #158917

Merged
merged 2 commits into from Jun 2, 2023

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Jun 2, 2023

Summary

Closes #158343

Fixes the broken reference line in aggbased xy charts.

image

The problem was the default here, apparently the expressions fail when the default is an empty string. The expression was failing and as a result the reference line was never rendered

Checklist

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
expressionXY 38.1KB 38.1KB -11.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 414 418 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 498 502 +4
total +6

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@stratoula stratoula added release_note:fix Feature:XYAxis XY-Axis charts (bar, area, line) backport:skip This commit does not require backporting v8.9.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jun 2, 2023
@stratoula stratoula marked this pull request as ready for review June 2, 2023 14:11
@stratoula stratoula requested a review from a team as a code owner June 2, 2023 14:11
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

Copy link
Contributor

@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.

Code LGTM

@stratoula stratoula merged commit a584986 into elastic:main Jun 2, 2023
27 checks passed
cqliu1 pushed a commit to cqliu1/kibana that referenced this pull request Jun 5, 2023
## Summary

Closes elastic#158343

Fixes the broken reference line in aggbased xy charts.

<img width="1715" alt="image"
src="https://github.com/elastic/kibana/assets/17003240/ae48f0b8-475a-44e2-866a-c56e9da8e8b0">

The problem was the default here, apparently the expressions fail when
the default is an empty string. The expression was failing and as a
result the reference line was never rendered

### Checklist
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
sloanelybutsurely pushed a commit to sloanelybutsurely/kibana that referenced this pull request Jun 6, 2023
## Summary

Closes elastic#158343

Fixes the broken reference line in aggbased xy charts.

<img width="1715" alt="image"
src="https://github.com/elastic/kibana/assets/17003240/ae48f0b8-475a-44e2-866a-c56e9da8e8b0">

The problem was the default here, apparently the expressions fail when
the default is an empty string. The expression was failing and as a
result the reference line was never rendered

### Checklist
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:XYAxis XY-Axis charts (bar, area, line) release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Aggbased] Threshold line doesn't render on XY charts
4 participants