I need to do something like:
paper.text(Left, Top, " " + this._p.Label + ":");
paper.text(Left, Top, " " + this._p.Label + ":");
But the added spaces will not be displayed or displayed as in the text.
I tried:
label.attr({"xml:space": "preserve"});
... no effect.
Is there any access to SVG node in Raphael JS, so I can install
setAttributeNS("http://www.w3.org/XML/1998/namespace","space","preserve");
(or is there any other way to solve this?)
source
share