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 77fbd4b commit 23c3a38Copy full SHA for 23c3a38
src/index.js
@@ -8,7 +8,9 @@ const lcjs = require('@arction/lcjs')
8
const { lightningChart, AxisTickStrategies, Themes } = lcjs
9
10
// Create a XY Chart.
11
-const chart = lightningChart()
+const chart = lightningChart({
12
+ resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
13
+ })
14
.ChartXY({
15
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
16
})
0 commit comments