You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Admittedly, there is unfortunately no current way to move the labels anywhere (#10), wrap them, or add line breaks. It is rather non-trivial to add these elements, but certainly desirable.
Upon further inspection, it appears like it would be relatively easy to support manually-defined line breaks. Would just need to add appropriate <tspan> elements. Just need to make sure that the first element has a dy of (-1 * textHeight * (length - 1)) / 2 while the rest of the <tspan> elements have a dy of textHeight.
Line breaks are now supported in the label.format. It is important to note that this is not done responsively: the chart will not automatically break lines when it the text will exceed the container.
Since this is a change from previous treatment of newline characters, this will be released in a new major version.
I have the next issue:
![](https://camo.githubusercontent.com/2d1c3d408d1e8b5a58f4fa9abad7ef79c16124abae3c43a89b8898a48a8db566/68747470733a2f2f6d6f6e6f736e61702e636f6d2f66696c652f6e363879794374514737384471376548454b6c76704d4c70716d704d616c2e706e67)
How to make labels more responsive?
The text was updated successfully, but these errors were encountered: