Skip to content

Commit 20a608b

Browse files
committed
Update
1 parent d7e4f60 commit 20a608b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ const { lightningChart, Themes } = lcjs
99

1010
const app = (data) => {
1111
// Create a polar chart.
12-
const polar = lightningChart()
12+
const polar = lightningChart({
13+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
14+
})
1315
.Polar({
1416
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
1517
})

0 commit comments

Comments
 (0)