Skip to content

Commit bb5ba85

Browse files
committed
Update
1 parent b1ace14 commit bb5ba85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ const lcjs = require('@arction/lcjs')
77
// Extract required parts from LightningChartJS.
88
const { lightningChart, AxisTickStrategies, Themes } = lcjs
99

10-
const chart = lightningChart()
10+
const chart = lightningChart({
11+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
12+
})
1113
.ChartXY({
1214
defaultAxisX: {
1315
type: 'linear-highPrecision',

0 commit comments

Comments
 (0)