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 e583f6a commit 7be050cCopy full SHA for 7be050c
src/index.js
@@ -16,7 +16,9 @@ const {
16
Themes,
17
} = lcjs
18
19
-const chart = lightningChart()
+const chart = lightningChart({
20
+ resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
21
+ })
22
.ChartXY({
23
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
24
})
0 commit comments