Skip to content
Minimalistic AngularJs directive which wraps and makes ChartJs dynamic
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
LICENSE
README.md
bower.json
ng-chart.js
ng-chart.min.js

README.md

ng-chart.js

Minimalistic AngularJs directive which wraps and makes ChartJs dynamic

Install

  • bower install ng-chart.js
  • Add bower_components/Chart.js/Chart.min.jsand bower_components/ng-chart.js/ng-chart.min.js to your page
  • Add 'ngChartJs' to your angular module, e.g. angular.module('myApp', ['ngChartJs']);

Usage

<canvas ng-chart-js type="line" data="data" options="options"></canvas>

Demo

Documentation

Good to know

  • Tested on AngularJs 1.3.12
Something went wrong with that request. Please try again.