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 d7e4f60 commit 20a608bCopy full SHA for 20a608b
src/index.js
@@ -9,7 +9,9 @@ const { lightningChart, Themes } = lcjs
9
10
const app = (data) => {
11
// Create a polar chart.
12
- const polar = lightningChart()
+ const polar = lightningChart({
13
+ resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
14
+ })
15
.Polar({
16
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
17
})
0 commit comments