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 254e7f8 commit 78cb6f2Copy full SHA for 78cb6f2
src/index.js
@@ -8,7 +8,9 @@ const lcjs = require('@arction/lcjs')
8
const { lightningChart, LegendBoxBuilders, Themes } = lcjs
9
10
// Create spider chart and Three series.
11
-const chart = lightningChart()
+const chart = lightningChart({
12
+ resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
13
+ })
14
.Spider({
15
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
16
})
0 commit comments