Skip to content

Angular component for Chartist.js

License

Notifications You must be signed in to change notification settings

willsoto/ng-chartist

Repository files navigation

Angular Chartist

Installation

npm install ng-chartist chartist
pnpm add ng-chartist chartist

Usage

import{ChartistModule}from"ng-chartist";import{NgModule}from"@angular/core"; @NgModule({imports: [ChartistModule],})exportclassSomeModule{}
import{Component}from"@angular/core";import{Configuration}from"ng-chartist"; @Component()exportclassSomeComponent{publicconfiguration: Configuration={// Specify the type of chart and the rest of the config will be typedtype: "Bar",// Requireddata: {},// Optionaloptions: {},// OptionalresponsiveOptions: {},};}
<x-chartist[configuration]="configuration"></x-chartist>

About

Angular component for Chartist.js

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 14