-
vizulyJune 27, 2016 at 1:40 pm #6251
You are welcome Adam.
There is an experimental function in the vizuly source code you may want to play with. It can be found here:
src/svg/text.js
The function is:
vizuly.svg.text.wrap = function (text, value, lineHeight, width)
If you pass it the text object, the value, line height in pixels, and width in pixels, it will attempt to wrap it for you automatically.
This is experimental code, so use at your own risk!
– Tom
You must be logged in to reply to this topic.
© 2024 — vizuly.io