How to use changeTheme() or applyTheme in angular

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
aaron
Newbie
Newbie
Posts: 30
Joined: Mon Apr 17, 2023 12:00 am

How to use changeTheme() or applyTheme in angular

Post by aaron » Thu Apr 20, 2023 10:42 am

changeTheme(this.tChart1, "minimal"); is not working

applyTheme also not working in angular.
Attachments
ERROR.JPG
ERROR.JPG (34.26 KiB) Viewed 25774 times

Marc
Site Admin
Site Admin
Posts: 1274
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

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

Post by Marc » Mon Apr 24, 2023 3:46 pm

applyTheme is included in the public demo:

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

Regards,
Marc Meumann
Steema Support

Marc
Site Admin
Site Admin
Posts: 1274
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

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

Post by Marc » Tue Apr 25, 2023 7:58 am

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
Steema Support

Post Reply