Skip to content

Commit 3638a2b

Browse files
committed
Update
1 parent 5231211 commit 3638a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const dateOriginTime = dateOrigin.getTime()
1919

2020
// Create a XY Chart.
2121
const chart = lightningChart().ChartXY({
22-
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined
22+
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
2323
})
2424
// Use DateTime X-axis using with above defined origin.
2525
chart.getDefaultAxisX().setTickStrategy(AxisTickStrategies.DateTime, (tickStrategy) => tickStrategy.setDateOrigin(dateOrigin))

0 commit comments

Comments
 (0)