Angular4 UI plugin with Chart.js
Welcome to @Rebirth/Chart
. This repo is Angular4 ui library for Chart.js. And it is being built from scratch in Typescript.
You can check Demo Showcase & API document.
@Rebirth/Chart
is all base on Angular4 and Chart.js.
The only required dependencies are:
After installing the above dependencies, install @Rebirth/UI
via:
npm install --save rebirth-chart
Once installed you need to import our main module.
import { RebirthChartModule } from 'rebirth-chart';
Then use RebirthUIModule
to declare on your feature module:
@NgModule({
imports: [CommonModule, FormsModule, RebirthChartModule],
exports: [DemoComponent],
declarations: [DemoComponent],
providers: [],
})
export class DemoModule {
}
-
You can choose
@types/chartjs
for improve yourTypeScript
code. -
Please check github issue for your common problems / solutions.