1.0.9 • Published 9 years ago

chartist-angular-directive v1.0.9

Weekly downloads
18
License
-
Repository
github
Last release
9 years ago

chartistAngularDirective Build Status npm installs

A directive to easily integrate chartist graphs into your AngularJS application. Chartist is a open source graph framework and has to be added to your app as well.The API and examples can be found here

Install

bower install chartist-directive --save

HowTo

Insert the directive in your HTML file:

<div ng-chartist id='graph_id' class="ct-chart" data='data' options='{{options}}' type='{{chartType}}' tooltips='true'></div>

Parameter

  • id: set manually
  • class: set ct-chart to get the chartist CSS
  • data: set inside controller via $scope.data
  • options: set via $scope.options inside the controller
  • type: set via $scope.type inside controller
  • tooltips: Set a parameter, which one doesn't matter.
1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago