We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5231211 commit 3638a2bCopy full SHA for 3638a2b
src/index.js
@@ -19,7 +19,7 @@ const dateOriginTime = dateOrigin.getTime()
19
20
// Create a XY Chart.
21
const chart = lightningChart().ChartXY({
22
- theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined
+ theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
23
})
24
// Use DateTime X-axis using with above defined origin.
25
chart.getDefaultAxisX().setTickStrategy(AxisTickStrategies.DateTime, (tickStrategy) => tickStrategy.setDateOrigin(dateOrigin))
0 commit comments