There was an error while loading. Please reload this page.
1 parent 0a4ca9c commit 0e8bde0Copy full SHA for 0e8bde0
package.json
@@ -17,7 +17,7 @@
17
"webpack-stream": "^7.0.0"
18
},
19
"dependencies": {
20
- "@arction/lcjs": "^5.1.1",
+ "@arction/lcjs": "^4.1.1",
21
"@arction/xydata": "^1.4.0"
22
23
"lightningChart": {
src/index.js
@@ -16,7 +16,7 @@ const { createSampledDataGenerator } = xydata
16
// Create a XY Chart.
const chart = lightningChart()
.ChartXY({
- // theme: Themes.darkGold
+ theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
})
.setTitle('ECG')
0 commit comments