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 405d248 commit 306236e
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 @@ -31,7 +31,9 @@ const sensors = [
{ x: -0.16 * 2, y: 0.4 * 2, z: 0.3 * 2, value: 120, name: 'O2', history: [] },
]

const dashboard = lightningChart()
const dashboard = lightningChart({
resourcesBaseUrl: new URL(document.head.baseURI).origin + new URL(document.head.baseURI).pathname + 'resources/',
})
.Dashboard({
numberOfColumns: 2,
numberOfRows: sensors.length,
Expand Down

0 comments on commit 306236e

Please sign in to comment.