Skip to content

Commit 1fbd55a

Browse files
committed
Update
1 parent 514bee5 commit 1fbd55a

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
@@ -21,7 +21,9 @@ const {
2121

2222
// Create a 5x2 dashboard.
2323
// NOTE: Using `Dashboard` is no longer recommended for new applications. Find latest recommendations here: https://lightningchart.com/js-charts/docs/basic-topics/grouping-charts/
24-
const grid = lightningChart().Dashboard({
24+
const grid = lightningChart({
25+
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
26+
}).Dashboard({
2527
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
2628
numberOfRows: 3,
2729
numberOfColumns: 2,

0 commit comments

Comments
 (0)