Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Snekw committed Apr 5, 2024
1 parent b732bbd commit 8dd6aec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const { createProgressiveTraceGenerator, createTraceGenerator } = xydata

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

0 comments on commit 8dd6aec

Please sign in to comment.