Info. regarding teechart support for Angular

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Info. regarding teechart support for Angular

Post by amol » Tue Apr 17, 2018 9:37 am

Hi Steema Support,

We have one query about teechart support for Angular 2.
There is any support for angular or how we can use teechart in angular 2 application. Please let me know.

Thanks,
Planoresearch

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

Re: Info. regarding teechart support for Angular

Post by Marc » Fri Apr 20, 2018 11:23 am

Hello,

We don't yet have any integrated support for angular though it is on the list for inclusion.

In the meantime you can write code in Javascript then 'angularise' entry to it. This link helps with how to do that:

https://stackoverflow.com/questions/435 ... -angularjs

I haven't tested the approach but we'll put an example together over the coming days and make it available.

Regards,
Marc Meumann
Steema Support

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

Re: Info. regarding teechart support for Angular

Post by Marc » Thu Jun 07, 2018 7:26 am

Hi,

We've put an example angular project up to view here:
https://www.steema.com/files/public/tee ... eechartjsA

Downloadable project:
https://www.steema.com/files/public/tee ... jsAPkg.zip

The project includes a modified teechart.js in node_modules\TeeChart to bring the teechart-extras and teechart-animations into the same file-namespace in teechart.js. This is an interim step whilst we decide the best way to bridge the Tee namespace across the different source files.

To create/run the project:
1. Follow the instructions here: https://angular.io/guide/setup-local (url modified May 2020), to create a new project in the folder of your choice. These steps are basically to populate the node_modules folder with all of the packages required bu your version of angular.
2. download the zip, and unzip, copy-over the contents of your new project.
3. Execute "ng serve --open" from the command prompt in the project folder.

Regards,
Marc

Post Reply