AnyChart-React icon indicating copy to clipboard operation
AnyChart-React copied to clipboard

Change color theme

Open ghost opened this issue 4 years ago • 1 comments

How do you change the color theme using this library? The suggested answer here doesn't seem to work

ghost avatar Nov 30 '21 18:11 ghost

@brentadamson Theme JS files are simple self-invoked functions. They are not available as modules via NPM. Importing them as JS side-effect JS scripts will not work in React. So, you need to convert the desired theme to a module. For details, check the modified sample.

Shestac92 avatar Dec 01 '21 05:12 Shestac92