Skip to content

Commit 4d15d6a

Browse files
committed
Update
1 parent 52fb4b4 commit 4d15d6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"webpack-stream": "^7.0.0"
1818
},
1919
"dependencies": {
20-
"@arction/lcjs": "^5.1.1",
20+
"@arction/lcjs": "^4.1.1",
2121
"@arction/xydata": "^1.4.0"
2222
},
2323
"lightningChart": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ const renderSpectrogram = async (data) => {
281281
// NOTE: Using `Dashboard` is no longer recommended for new applications. Find latest recommendations here: https://lightningchart.com/js-charts/docs/basic-topics/grouping-charts/
282282
const dashboard = lc
283283
.Dashboard({
284-
// theme: Themes.darkGold
284+
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
285285
numberOfColumns: 1,
286286
numberOfRows: data.channels.length,
287287
})

0 commit comments

Comments
 (0)