diff --git a/package.json b/package.json index 5b642a7..dd20385 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/index.js b/src/index.js index 177099c..b840ab0 100644 --- a/src/index.js +++ b/src/index.js @@ -63,7 +63,7 @@ const probabilityDistribution = (mean, variance) => (x) => // Make chart with series graphing standard probability density and cumulative distribution functions. const chart = lightningChart() .ChartXY({ - // theme: Themes.darkGold + theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined, }) .setTitle('Probability distribution + Simulated accumulation and BoxSeries') // Set auto-cursor mode to 'onHover'