1.1.0 • Published 8 years ago
@medrecord/medgraph v1.1.0
MEDgraph
Installation
To install this library, run:
$ npm install @medrecord/medgraph --saveRender an Health Graph
1. Import the MedgraphModule
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import your library
import { MedgraphModule } from '@medrecord/medgraph';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
MedgraphModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }2. Place it in your template:
<medgraph
[width]="400"
[data]="data"
[options]="options">
</medgraph>Development
To generate all *.js, *.d.ts and *.metadata.json files:
$ npm run buildTo lint all *.ts files:
$ npm run lintLicense
LGPL-2.0 © MEDrecord