Skip to content

Commit 9d3fa66

Browse files
committed
Update
1 parent 8410f55 commit 9d3fa66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const dateOriginTime = dateOrigin.getTime()
2020

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

0 commit comments

Comments
 (0)