From 3638a2b1478f904005cb22634fa3778f99fa0f7c Mon Sep 17 00:00:00 2001 From: Ilkka Kuosmanen Date: Tue, 2 Apr 2024 12:53:52 +0300 Subject: [PATCH] Update --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 9955b13..97f1f63 100644 --- a/src/index.js +++ b/src/index.js @@ -19,7 +19,7 @@ const dateOriginTime = dateOrigin.getTime() // Create a XY Chart. const chart = lightningChart().ChartXY({ - theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined + theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined, }) // Use DateTime X-axis using with above defined origin. chart.getDefaultAxisX().setTickStrategy(AxisTickStrategies.DateTime, (tickStrategy) => tickStrategy.setDateOrigin(dateOrigin))