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
I'm trying to make some generic chart components wrapped around VisX components, and in particular my font sizing is sized with rems and is intended to potentially change size.
So I'd like to be able to measure the height of things like my tick labels, or axis labels on the xAxis in case the font-size changes. I know that there is the getStringWidth and wondered if there was a similar height utility of some kind that is the "VisX" way to figure this out.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to make some generic chart components wrapped around VisX components, and in particular my font sizing is sized with rems and is intended to potentially change size.
So I'd like to be able to measure the height of things like my tick labels, or axis labels on the xAxis in case the font-size changes. I know that there is the getStringWidth and wondered if there was a similar height utility of some kind that is the "VisX" way to figure this out.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions