Test version - working version coming soon.
npm install chart-angular5
import { ChartModule } from 'chart-angular5/src/app/modules/chart/chart.module';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
ChartModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<app-chart></app-chart>
add the below line to package.json
https://github.com/louise-hayes/chart-angular5.git
This project was generated with Angular CLI version 1.7.3. Node: 8.9.1 Angular: 5.2.9
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.