Closed davelandry closed 6 years ago
Users should be able to set labelConfig options based on their own data.
Currently, data is returned to accessor function nested inside of d.data. This is where we need to add configPrep: https://github.com/d3plus/d3plus-shape/blob/master/src/Shape/Shape.js#L470
d.data
configPrep
https://jsfiddle.net/nfd9bo8q/56/
Expected Behavior
Users should be able to set labelConfig options based on their own data.
Current Behavior
Currently, data is returned to accessor function nested inside of
d.data
. This is where we need to addconfigPrep
: https://github.com/d3plus/d3plus-shape/blob/master/src/Shape/Shape.js#L470Steps to Reproduce (for bugs)
https://jsfiddle.net/nfd9bo8q/56/