Skip to content

Commit 33ae818

Browse files
committed
Update
1 parent 639128a commit 33ae818

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
@@ -8,7 +8,9 @@ const lcjs = require('@arction/lcjs')
88
const { PyramidChartTypes, PyramidLabelSide, SliceLabelFormatters, lightningChart, LegendBoxBuilders, Themes } = lcjs
99

1010
// Create a Pyramid chart
11-
const pyramid = lightningChart()
11+
const pyramid = lightningChart({
12+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
13+
})
1214
.Pyramid({
1315
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
1416
type: PyramidChartTypes.LabelsOnSides,

0 commit comments

Comments
 (0)