New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
angular2 support #11
Comments
I actually do intend on a component for Angular2. I'm just not comfortably familiar with Angular2 enough that I would feel good releasing anything. It is planned and even sort of in progress currently. |
Good to hear it, I was also trying myself actually.. You can see how they've implemented google chart as Angular2 directives on the following url https://github.com/vimalavinisha/angular2-google-chart/blob/master/directives/angular2-google-chart.directive.ts |
I have written something but it doesn't work yet, I got 'annotateLayers' data undefined, maybe if you can help me out.. To test it on any angular2 project use the following approach (the actual directive is at the end but chronologically you should work like this) First Import the Directive into your Module: This can be in File:
Don't forget to add it to the declarations array of your module
HTML markup:
Chart data: File:
Where the actual magic happens File:
I also included epochjs & d3 in my project by adding these two scripts to the of course install these first
File:
|
Hi, do you plan to create an angular2 version of epoch js?
The text was updated successfully, but these errors were encountered: