diff --git a/src/legacy/core_plugins/interpreter/public/renderers/visualization.ts b/src/legacy/core_plugins/interpreter/public/renderers/visualization.ts index a4cd95cd3bd57..8dcd2992cd7ca 100644 --- a/src/legacy/core_plugins/interpreter/public/renderers/visualization.ts +++ b/src/legacy/core_plugins/interpreter/public/renderers/visualization.ts @@ -49,12 +49,13 @@ export const visualization = () => ({ handlers.vis.eventsSubject = handlers.eventsSubject; } + const visParams = { ...handlers.vis.params, ...visConfig }; const uiState = handlers.uiState || handlers.vis.getUiState(); handlers.onDestroy(() => visualizationLoader.destroy()); await visualizationLoader - .render(domNode, handlers.vis, visData, handlers.vis.params, uiState, params) + .render(domNode, handlers.vis, visData, visParams, uiState, params) .then(() => { if (handlers.done) handlers.done(); });