From 6781cf0de5c99e35cdbb36d436481c804a4cdc6b Mon Sep 17 00:00:00 2001 From: Ilkka Kuosmanen Date: Wed, 13 Mar 2024 11:19:46 +0200 Subject: [PATCH] Update --- package.json | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 81926cb..4ffbf6a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "webpack-stream": "^7.0.0" }, "dependencies": { - "@arction/lcjs": "^5.1.1", + "@arction/lcjs": "^4.1.1", "@arction/xydata": "^1.4.0" }, "lightningChart": { diff --git a/src/index.js b/src/index.js index 69695d9..b6ca56b 100644 --- a/src/index.js +++ b/src/index.js @@ -87,7 +87,7 @@ const dataPromise = new Promise(async (resolve) => { // 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 = lightningChart() .Dashboard({ - // theme: Themes.darkGold + theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined, numberOfColumns: 1, numberOfRows: 2, })