Skip to content

Commit ce0f683

Browse files
committed
Update
1 parent 593bf94 commit ce0f683

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
@@ -4,7 +4,9 @@
44
const lcjs = require('@arction/lcjs')
55
const { lightningChart, BarChartTypes, BarChartSorting, AxisScrollStrategies, Themes } = lcjs
66

7-
const lc = lightningChart()
7+
const lc = lightningChart({
8+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
9+
})
810
const barChart = lc
911
.BarChart({
1012
type: BarChartTypes.Horizontal,

0 commit comments

Comments
 (0)