Skip to content

Commit a296637

Browse files
committed
Update
1 parent d2f9c5e commit a296637

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
@@ -14,7 +14,9 @@ const { lightningChart, SolidFill, ColorRGBA, PointStyle3D, Themes } = lcjs
1414
const { createWaterDropDataGenerator } = xydata
1515

1616
// Initiate chart
17-
const chart3D = lightningChart()
17+
const chart3D = lightningChart({
18+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
19+
})
1820
.Chart3D({
1921
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
2022
})

0 commit comments

Comments
 (0)