how to set a text labelcenter inside svg code example
Example: how to center text in svg
<text x="50%" y="50%" text-anchor="middle" dominant-baseline="middle">Text</text>
<text x="50%" y="50%" text-anchor="middle" dominant-baseline="middle">Text</text>