Page 1 of 1
Info. regarding teechart support for Angular
Posted: Tue Apr 17, 2018 9:37 am
by 9526439
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
Re: Info. regarding teechart support for Angular
Posted: Fri Apr 20, 2018 11:23 am
by Marc
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
Re: Info. regarding teechart support for Angular
Posted: Thu Jun 07, 2018 7:26 am
by Marc
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