From 8ff10d11cac87513dd985cf496727f568607798f Mon Sep 17 00:00:00 2001 From: Ilkka Kuosmanen Date: Wed, 13 Mar 2024 11:28:57 +0200 Subject: [PATCH] Update --- package.json | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index eb3633d..586088c 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "webpack-stream": "^7.0.0" }, "dependencies": { - "@arction/lcjs": "^4.1.1", + "@arction/lcjs": "^5.1.1", "@arction/xydata": "^1.4.0" }, "lightningChart": { diff --git a/src/index.js b/src/index.js index 55b316a..bba33fd 100644 --- a/src/index.js +++ b/src/index.js @@ -11,7 +11,7 @@ const app = (data) => { // Create a polar chart. const polar = lightningChart() .Polar({ - theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined, + theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined }) .setTitle('Electromagnetic field strength')