d3plus / d3plus-text

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

verticalAlign breaks with rotation #86

Open davelandry opened 6 years ago

davelandry commented 6 years ago

Expected Behavior

When rotating a TextBox, setting the verticalAlign should respect the rotation.

Current Behavior

Currently, it just moves the label down vertically.

Steps to Reproduce (for bugs)

https://jsfiddle.net/5hafqu6b/

Your Environment