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
{{ message }}
This repository has been archived by the owner on May 14, 2023. It is now read-only.
The problem : width is always equal to the value of text , hence the props width: bar.width and textAnchor="middle" won't be useful.
If we can find a way to make it equal to bar width, centering with those props will become easy.
The text was updated successfully, but these errors were encountered:
This is a hacky solution to somewhat align it center.
The problem : width is always equal to the value of text , hence the props
width: bar.width
andtextAnchor="middle"
won't be useful.If we can find a way to make it equal to bar width, centering with those props will become easy.
The text was updated successfully, but these errors were encountered: