Skip to content

Latest commit

 

History

History

exports

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Getting started

Angular4 UI plugin with Chart.js

Welcome

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.

Dependencies

@Rebirth/Chart is all base on Angular4 and Chart.js. The only required dependencies are:

  • Angular (requires Angular version 4.0.0 or higher)
  • chart.js (chart.js 2.5.0)

Installation

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 {
}

FAQ

  • You can choose @types/chartjs for improve your TypeScript code.

  • Please check github issue for your common problems / solutions.