Update dependency @elastic/charts to v47 (main) (#136984)

* Update dependency @elastic/charts to v47

* chore: fix typescript errors

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nickofthyme <nicholas.partridge@elastic.co>
This commit is contained in:
renovate[bot] 2022-07-25 00:21:44 -07:00 committed by GitHub
parent 600523f0bf
commit 1adaf53d25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View file

@ -103,7 +103,7 @@
"@elastic/apm-rum": "^5.12.0",
"@elastic/apm-rum-react": "^1.4.2",
"@elastic/apm-synthtrace": "link:bazel-bin/packages/elastic-apm-synthtrace",
"@elastic/charts": "46.13.0",
"@elastic/charts": "47.0.0",
"@elastic/datemath": "5.0.3",
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.3.0-canary.1",
"@elastic/ems-client": "8.3.3",

View file

@ -32,6 +32,7 @@ const getSeriesIdentifier = ({
seriesSplitAccessors: Map<number | string, number | string>;
}): XYChartSeriesIdentifier => ({
specId: generateSeriesId({ layerId, xAccessor }, splitAccessors, yAccessor),
xAccessor: xAccessor ?? 'x',
yAccessor: yAccessor ?? 'a',
splitAccessors: seriesSplitAccessors,
seriesKeys: [],

View file

@ -1896,6 +1896,7 @@ describe('XYChart component', () => {
seriesKeys: [],
key: '',
specId: 'a',
xAccessor: '',
yAccessor: '',
splitAccessors: new Map(),
};

View file

@ -1443,10 +1443,10 @@
dependencies:
object-hash "^1.3.0"
"@elastic/charts@46.13.0":
version "46.13.0"
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-46.13.0.tgz#6000de23944f264c8ac2bb0a8728fac1eb8c3b2f"
integrity sha512-v3qGpARn8stI5v6aSUaQE3tEYdZLmGgA//oU4BSLemmKUaBpaK5ZOYwjoBGdqzo52F7gqM7/O1QepdfxS/CBRw==
"@elastic/charts@47.0.0":
version "47.0.0"
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-47.0.0.tgz#031dcb82b6cc787df211356b81acf32f260b5cce"
integrity sha512-wyxO/GsnIGHX42PaZ3Xl2Wpo83eVhX3ZL0GSa7C8qiPt3HIJVviOcXR/6dC8ylP0XNjXa4NwVnhQZCn/+z7FOg==
dependencies:
"@popperjs/core" "^2.4.0"
bezier-easing "^2.1.0"