A few new use cases requiring some more flexibility in labeling.
[ ] Allow label to be positioned more easily
[ ] Allow a function based formatter to be bound to d3.tickFormat
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.
A few new use cases requiring some more flexibility in labeling.
d3.tickFormat
Most likely I'll make the second one a breaking changes changing the string based
format
attribute to one that is evaluated thus:will have to be changed to
Alternatively a non-breaking attribute could be introduced instead like
d3-format
,ng-format
orbind-format
which would be evaluated. I'm not sure this is really that much better though.