Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Snekw committed Mar 13, 2024
1 parent 018a852 commit 1a0e926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"webpack-stream": "^7.0.0"
},
"dependencies": {
"@arction/lcjs": "^5.1.1",
"@arction/lcjs": "^4.1.1",
"@arction/xydata": "^1.4.0"
},
"lightningChart": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const lcjs = require('@arction/lcjs')
const { lightningChart, MapTypes, PalettedFill, LUT, ColorRGBA, formatLongitudeLatitude, regularColorSteps, Themes } = lcjs

const mapChart = lightningChart().Map({
// theme: Themes.darkGold
theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined,
type: MapTypes.Europe,
})
const theme = mapChart.getTheme()
Expand Down

0 comments on commit 1a0e926

Please sign in to comment.