Skip to content

Commit bb27b32

Browse files
committed
Update
1 parent fc6ddcb commit bb27b32

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
@@ -26,7 +26,9 @@ const spectrogramRows = 1024
2626
// Create charts and series.
2727

2828
// NOTE: Using `Dashboard` is no longer recommended for new applications. Find latest recommendations here: https://lightningchart.com/js-charts/docs/basic-topics/grouping-charts/
29-
const dashboard = lightningChart()
29+
const dashboard = lightningChart({
30+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
31+
})
3032
.Dashboard({
3133
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined
3234
numberOfColumns: 2,

0 commit comments

Comments
 (0)