Skip to content

cramatt/angular-dc

This branch is up to date with TomNeyland/angular-dc:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

45a98a8 · Jun 3, 2015

History

77 Commits
Feb 9, 2015
Apr 8, 2015
Feb 9, 2015
Dec 27, 2013
Dec 27, 2013
Oct 6, 2014
Jun 3, 2015
Oct 6, 2014
Aug 15, 2014
Jun 2, 2015
Jun 2, 2015
Feb 10, 2015
Apr 8, 2014
Dec 27, 2013
Jun 2, 2015

Repository files navigation

angular-dc

AngularJS directives for dc.js

Build Status

Node deps: David

Getting Started

Download the production version or the development version.

If you use bower, you can install this via: bower install angular-dc

Dependencies

See the bower.json file for dependencies: bower.json

30 second look

<script src="angular.js"></script>
<script src="dist/angular-dc.min.js"></script>
<!--don't forget to include all dependencies-->
<script>
//load the angular-dc module in your app
angular.module("myApp", ['angularDc']);
// some angularjs controller code...
</script>

<!--Setup a simple pie chart. DC.js options are exposed as html attributes-->
<div dc-chart="pieChart" dc-width="180" dc-height="180" dc-radius="80" dc-dimension="gainOrLoss" dc-group="gainOrLossGroup" class="dc-chart"></div>

Examples

Documentation

About

AngularJS directives for dc.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.4%
  • HTML 37.0%
  • Makefile 0.6%