-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Update dependency @elastic/charts to v19.1.2 #64759
Update dependency @elastic/charts to v19.1.2 #64759
Conversation
Pinging @elastic/datavis (Feature:ElasticCharts) |
Gave this a test run within Elastic Security and am seeing this stack trace which is not present on master at the moment when you zoom in within a chart: Full stack trace: Uncaught TypeError: Cannot read property 'xDomain' of undefined
at compute_series_domains.js:14
at resultFuncWithRecomputations (index.js:77)
at index.js:70
at index.js:30
at index.js:84
at index.js:30
at selector (index.js:105)
at index.js:80
at index.js:30
at Object.selector [as computeLegendSelector] (index.js:105)
(anonymous) @ compute_series_domains.js:14
resultFuncWithRecomputations @ index.js:77
(anonymous) @ index.js:70
(anonymous) @ index.js:30
(anonymous) @ index.js:84
(anonymous) @ index.js:30
selector @ index.js:105
(anonymous) @ index.js:80
(anonymous) @ index.js:30
selector @ index.js:105
push.../../node_modules/@elastic/charts/dist/chart_types/xy_chart/state/chart_state.js.XYAxisChartState.getLegendItems @ chart_state.js:53
push.../../node_modules/@elastic/charts/dist/state/selectors/get_legend_items.js.exports.getLegendItemsSelector @ get_legend_items.js:6
(anonymous) @ chart_state.js:127
p @ VM1019:1
v @ VM1019:1
(anonymous) @ VM1019:1
dispatch @ redux.js:212
e @ VM1019:1
dispatch @ VM1019:1
(anonymous) @ redux.js:475
(anonymous) @ chart_container.js:86
requestAnimationFrame (async)
ChartContainerComponent._this.handleBrushEnd @ chart_container.js:85 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Operations: kbn-ui-shared-deps LGTM
Lens just merged our brushing function, I think this PR needs to be updated: #62636 |
@FrankHassanabad I've fixed the issue on @elastic/charts and updated the PR with the fix. @wylieconlon I've merged master and fixed the breaking changes in Lens here: 7049d2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested drag interactions in Lens, Discover and TSVB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked out the branch and tested:
- Used the drill downs from zoom in within hosts
- Used the mini histogram viewer and tested that it still operates and that zoom in works
- Tested the network page to ensure the charting works there.
- Ensured there were no console errors and no server side errors when doing the tests
👍 , Thanks for the fast fixes for anything found here. Appreciate it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving changes for SIEM! Thank you @markov00
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logs and metrics changes LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - all Uptime charts seem to be functioning normally
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* build: upgrade @elastic/charts to 19.0.0 * refactor: onBrushEnd breaking changes * fix: missing onBrushEnd argument changes * fix: update ech to 19.1.1 * fix: lens onBrushEnd breaking changes * update to 19.1.2 # Conflicts: # package.json
Summary
This PR contains the following updates:
18.4.2
->19.1.2
Release Notes
19.1.2 (2020-05-04)
Bug Fixes
19.1.1 (2020-04-30)
Bug Fixes
19.1.0 (2020-04-30)
Features
19.0.0 (2020-04-28)
Bug Fixes
Features
BREAKING CHANGES
BrushEndListener
is now in the following formwhere
x
contains an array of[min, max]
values, and they
property is an optional array of objects, containing theGroupId
and the values of the brush for that specific axis.y
coordinates are now inverted: they0
parameter of the coordinates now refers to the minimum value and they1
value refers to the maximum value of the y domain.@elastic/charts update procedure