angularjs-d3timeline
v1.0.0
Published
d3.js timeline directive for AngularJS
Downloads
13
Readme
This directive gives you a simple Timeline with the power of d3.
Features
- Add, Label and status of timeline
- jQuery is not necessary.
- Modify timeline radius, and transition attributes
- Attach onclick event
- No dependency on bootstrap
Demo
http://orealeb.github.io/angularjs-d3timeline/
Dependencies
- required: AngularJS >= 1.5, d3 >= 3.0
- Make sure to add the dependencies before the directive's js file.
Install
- Download the files
- Using bower:
Just run
bower install angularjs-d3timeline
- Using npm :
Just run
npm install angularjs-d3timeline
- Manually:
You can download the
.js
file directly or clone this repository
- Using bower:
Just run
- Include the file in your app
<script type="text/javascript" src="angularjs-d3TimeLine.js"></script>
.
- Include the module in angular (i.e. in
app.js
) -angularjs-d3timeline
Contributing
Issues and PR's are much appreciated. We're currently working on reducing them. When you create a new PR please make it against the develop branch when adding new features and to the fix branch when fixing small issues instead of master.
Usage and Documentation
See the documentation and examples in the GitHub pages: http://orealeb.github.io/angularjs-d3timeline/