Page 1 of 1

How to use changeTheme() or applyTheme in angular

Posted: Thu Apr 20, 2023 10:42 am
by 17795639
changeTheme(this.tChart1, "minimal"); is not working

applyTheme also not working in angular.

Re: How to use changeTheme() or applyTheme in angular

Posted: Mon Apr 24, 2023 3:46 pm
by Marc
applyTheme is included in the public demo:

https://www.steema.com/support/viewtopi ... 18&t=17905

Regards,
Marc Meumann

Re: How to use changeTheme() or applyTheme in angular

Posted: Tue Apr 25, 2023 7:58 am
by Marc
Adding a note on this, recognising where you may have come across the problem with applyTheme.

I've done some further checks and see that the TeeChart sourcecode that accompanies the TeeChart Angular demo, the source of which I've linked amongst these recent threads, was modified to include the applyTheme method. Commenting that line in the demo will facilitate a compilation of the angular project with any other version of TeeChart source.

We agree that this is an anomaly that needs resolving and will do so by correcting the publicly available teechart.js version to include the necessary codelines.

Apologies for the inconvenience caused. Apart from applyTheme all other aspects of the demo should function correctly. We will prepare other demos to accompany it.

Regards,
Marc