We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da7683 commit eea30b9Copy full SHA for eea30b9
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
@@ -20,7 +20,7 @@ const dateOriginTime = dateOrigin.getTime()
// Create a XY Chart.
const chart = lightningChart().ChartXY({
- // theme: Themes.darkGold
+ theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
24
})
25
// Use DateTime X-axis using previously defined origin.
26
chart.getDefaultAxisX().setTickStrategy(AxisTickStrategies.DateTime, (tickStrategy) => tickStrategy.setDateOrigin(dateOrigin))
0 commit comments