WealthBar / angular-d3

AngularJS directives for declaratively using D3
http://wealthbar.github.io/angular-d3/
MIT License
156 stars 39 forks source link

Label and Axis Improvements #29

Closed chrisnicola closed 8 years ago

chrisnicola commented 9 years ago

A few new use cases requiring some more flexibility in labeling.

Most likely I'll make the second one a breaking changes changing the string based format attribute to one that is evaluated thus:

format="$,.2"

will have to be changed to

format="'$,.2'"

Alternatively a non-breaking attribute could be introduced instead like d3-format, ng-format or bind-format which would be evaluated. I'm not sure this is really that much better though.