I have an XY SciChart.js chart in which I added two line charts with dummy data.
Then I added a drop-down menu.
How can I add a drop-down menu to change the theme of sci chart using html css and js in visual studio code?
I have an XY SciChart.js chart in which I added two line charts with dummy data.
Then I added a drop-down menu.
How can I add a drop-down menu to change the theme of sci chart using html css and js in visual studio code?
Copyright © 2021 Jogjafile Inc.
You can update the theme for a sciChartSurface by calling sciChartSurface.applyTheme. Documentation for this is here
If your select has the id "theme":
Full example on codepen