block by vicapow 9904612

9904612

Full Screen

An example of how to create your own sparkline dirctive in AngularJS without replace and transclude

see: https://bl.ocks.org/vicapow/9904319 for an alterative example that instead uses replace and transclude to allow the sparkline styles to be set on the element.

This is a code excerpt from the book D3 on Angular. http://leanpub.com/d3angularjs

index.html