diff --git a/package.json b/package.json index 228d971a4a090..bc2b74d165250 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "@dnd-kit/utilities": "^2.0.0", "@elastic/apm-rum": "^5.12.0", "@elastic/apm-rum-react": "^1.4.2", - "@elastic/charts": "54.0.0", + "@elastic/charts": "55.0.0", "@elastic/datemath": "5.0.3", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.6.0-canary.3", "@elastic/ems-client": "8.4.0", diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx b/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx index a9b4a2d227b27..8bae0d35e85c2 100644 --- a/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx +++ b/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx @@ -524,10 +524,6 @@ export const HeatmapComponent: FC = memo( chartTheme.axes?.gridLine?.horizontal?.stroke ?? '#D3DAE6', }, - cellHeight: { - max: 'fill', - min: 1, - }, }, cell: { maxWidth: 'fill', diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx b/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx index b211708c6f92f..a34c968eecfe4 100644 --- a/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx +++ b/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx @@ -291,10 +291,6 @@ export const SwimlaneContainer: FC = ({ }, heatmap: { grid: { - cellHeight: { - min: CELL_HEIGHT, - max: CELL_HEIGHT, - }, stroke: { width: BORDER_WIDTH, color: euiTheme.euiBorderColor, diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_chart_theme.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_chart_theme.ts index 022a928f2916c..3a24ab61b90ba 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_chart_theme.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_chart_theme.ts @@ -7,7 +7,6 @@ import { HeatmapStyle, RecursivePartial } from '@elastic/charts'; import { EuiThemeComputed } from '@elastic/eui'; -import { CHART_CELL_WIDTH } from './monitor_status_data'; export function getMonitorStatusChartTheme( euiTheme: EuiThemeComputed, @@ -15,16 +14,11 @@ export function getMonitorStatusChartTheme( ): RecursivePartial { return { grid: { - cellHeight: { - min: 20, - }, stroke: { width: 0, color: 'transparent', }, }, - maxRowHeight: 30, - maxColumnWidth: CHART_CELL_WIDTH, cell: { maxWidth: 'fill', maxHeight: 3, diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap b/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap index 58e01666035e8..5cc141d7c14fb 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap @@ -329,21 +329,11 @@ exports[`DonutChart component passes correct props without errors for valid prop "maxWidth": "fill", }, "grid": Object { - "cellHeight": Object { - "max": 30, - "min": 12, - }, - "cellWidth": Object { - "max": 30, - "min": 0, - }, "stroke": Object { "color": "gray", "width": 1, }, }, - "maxColumnWidth": 30, - "maxRowHeight": 30, "xAxisLabel": Object { "fontFamily": "Sans-Serif", "fontSize": 12, diff --git a/yarn.lock b/yarn.lock index fbeb43e6a5fd5..f794d4d41d2f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1460,10 +1460,10 @@ dependencies: object-hash "^1.3.0" -"@elastic/charts@54.0.0": - version "54.0.0" - resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-54.0.0.tgz#97e19c87c94d4282c12440e9d5703048232bc2b8" - integrity sha512-gyAgBrRKRg+QxaOluAy1tJXm3gv95IuZRL+/QMUR7tuAwqfD+Bi3eFUoqMhVJCRmhYJa2iDmLMjb7Mkb7HZJgw== +"@elastic/charts@55.0.0": + version "55.0.0" + resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-55.0.0.tgz#df9a4e9b0a84a613f103011d99f120cb528c4dc9" + integrity sha512-a4UIieTi04CPHxfwztDe36xoPFkp+I4tRPXWXobv/aG/zTd4AwruRyL981RiV2Tv8Mrc5jpCJFgfadNoPrL3pg== dependencies: "@popperjs/core" "^2.4.0" bezier-easing "^2.1.0"