From 04265ebb60b2c34e20283c627f985eaa346b6b5d Mon Sep 17 00:00:00 2001 From: Ilkka Kuosmanen Date: Tue, 2 Apr 2024 12:54:38 +0300 Subject: [PATCH] Update --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 72f66d9..4e8df32 100644 --- a/src/index.js +++ b/src/index.js @@ -281,7 +281,7 @@ const renderSpectrogram = async (data) => { // NOTE: Using `Dashboard` is no longer recommended for new applications. Find latest recommendations here: https://lightningchart.com/js-charts/docs/basic-topics/grouping-charts/ const dashboard = lc .Dashboard({ - theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined + theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined, numberOfColumns: 1, numberOfRows: data.channels.length, })