
Contains Angular2-compatible components to provideĬomponents definition. The general componentĭeclarations ( components.js and components.d.ts) rely on this directory Output directory that contains compiled js and d.ts files. If the integration is cloned from GitHub and Node Package Manager ( npm command) is available in command line, the following command compiles source code to dist/ directory:Īnychart typescript definition file. This quick start guide clarifies the structure of integration project and explains how it works and how it can be used. Despite the An圜hart-Angular2 integration is available with package managers, the license allows to modify and use it freely (though you need An圜hart license to use the library itself in commercial projects).Start the demo with npm run start command.Install all dependencies with npm install command.Īlso, in this directory you should create the app folder and Angular application file /app/main.js. catch ( function ( err ) ) Loading AppComponent content here. Angular Quick Start //Import of application to run. You can get this file from one of demos.Ĭreate index.html file with the following template:
Anychart bundle how to#
Here's a basic sample that shows how to quickly create an Angular2 application with An圜hart component.Ĭreate a project derictory and enter into it. You can download compiled Angular2 components directly from theĮxport basic Anychart-Angular2 integration functionality.

You can install Angular2-plugin using npm, bower or yarn: AngularJS v2.x directives for An圜hart provide an easy way to use An圜hart JavaScript Charts
