diff --git a/package.json b/package.json index 7a5322c977d..f3a4a90b6e4 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "@babel/preset-env": "^7.11.0", "@babel/preset-react": "^7.10.4", "@babel/preset-typescript": "^7.12.1", - "@elastic/charts": "^36.0.0", + "@elastic/charts": "^37.0.0", "@elastic/datemath": "^5.0.3", "@elastic/eslint-config-kibana": "^0.15.0", "@emotion/babel-preset-css-prop": "^11.0.0", diff --git a/src/themes/charts/themes.ts b/src/themes/charts/themes.ts index 315a4f457e5..1d5c04128af 100644 --- a/src/themes/charts/themes.ts +++ b/src/themes/charts/themes.ts @@ -49,7 +49,6 @@ function createTheme(colors: any): EuiChartThemeType { minFontSize: 8, maxFontSize: 16, fillLabel: { - textInvertible: false, valueFont: { fontWeight: 700, }, @@ -103,8 +102,6 @@ function createTheme(colors: any): EuiChartThemeType { fontSize: 10, fontFamily: fontFamily, fill: { - textInvertible: true, - textContrast: true, textBorder: 0, }, alignment: { diff --git a/yarn.lock b/yarn.lock index 8c7ce0ab94a..75cd8d2368d 100755 --- a/yarn.lock +++ b/yarn.lock @@ -1250,10 +1250,10 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@elastic/charts@^36.0.0": - version "36.0.0" - resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-36.0.0.tgz#dcb9c0edd5e3a031ce90e1d94f2c3fd42325a882" - integrity sha512-IR3jBBis8tuW6BIgGe7lIL8UerRMe81EOMVdfKybtxTuyLSK/XfjYf5cd7kIQHjHLIvrBkkoc2LGlGuIKBxr7A== +"@elastic/charts@^37.0.0": + version "37.0.0" + resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-37.0.0.tgz#a94526461c404b449953cca4fe34f8bf3620413e" + integrity sha512-Pfm58/voERWVPJlxy13DphwgRoBGYhnSyz65kdsPg6lYGxN5ngWvuTuJ3477fyApYV01Pz4Ckt9yj1BSQue80Q== dependencies: "@popperjs/core" "^2.4.0" chroma-js "^2.1.0" @@ -1261,7 +1261,6 @@ d3-array "^1.2.4" d3-cloud "^1.2.5" d3-collection "^1.0.7" - d3-color "^1.4.0" d3-interpolate "^1.4.0" d3-scale "^1.0.7" d3-shape "^1.3.4" @@ -5140,7 +5139,7 @@ d3-collection@1, d3-collection@^1.0.7: resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e" integrity sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A== -d3-color@1, d3-color@^1.4.0: +d3-color@1: version "1.4.1" resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.1.tgz#c52002bf8846ada4424d55d97982fef26eb3bc8a" integrity sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==