d3plus / d3plus-text

A smart SVG text box with line wrapping and automatic font size scaling.
MIT License
105 stars 19 forks source link

rotate method of TextBox is not passing the accessor the data element #87

Closed davelandry closed 6 years ago

davelandry commented 6 years ago

Expected Behavior

Using an accessor with the rotate method, I would expect to be receiving my raw data object back as the first argument.

Current Behavior

It's currently returning the internal d3plus data element.

Steps to Reproduce (for bugs)

https://jsfiddle.net/5hafqu6b/1/

Your Environment