Update dependency @elastic/charts to v19.1.2#64759
Update dependency @elastic/charts to v19.1.2#64759nickofthyme merged 10 commits intoelastic:masterfrom
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 |
spalger
left a comment
There was a problem hiding this comment.
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 |
wylieconlon
left a comment
There was a problem hiding this comment.
LGTM, tested drag interactions in Lens, Discover and TSVB
FrankHassanabad
left a comment
There was a problem hiding this comment.
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!
jasonrhodes
left a comment
There was a problem hiding this comment.
Logs and metrics changes LGTM
justinkambic
left a comment
There was a problem hiding this comment.
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.2Release 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
BrushEndListeneris now in the following formwhere
xcontains an array of[min, max]values, and theyproperty is an optional array of objects, containing theGroupIdand the values of the brush for that specific axis.ycoordinates are now inverted: they0parameter of the coordinates now refers to the minimum value and they1value refers to the maximum value of the y domain.@elastic/charts update procedure