Skip to content

Commit e3a1dcc

Browse files
committed
Update
1 parent a0c52c6 commit e3a1dcc

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
@@ -22,7 +22,9 @@ const {
2222

2323
const { createWaterDropDataGenerator } = xydata
2424

25-
const chart3D = lightningChart()
25+
const chart3D = lightningChart({
26+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
27+
})
2628
.Chart3D({
2729
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
2830
})

0 commit comments

Comments
 (0)