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
a test for values of 0, 0.5, 1-- draw an hline at say y=5, then draw some text at x=1,2,3 and y=5 with vjust=0,0.5,1. Test that bounding box of text element is on either side or in the middle of the bounding box for the hline.
similar test for hjust.
use the measureText JS function to get the height and width of a text element, and use that to compute vjust.
also use that for hjust instead of text-anchor property.
also use that for text elements that are not geoms, for example axis tick labels.
The text was updated successfully, but these errors were encountered:
measureText
JS function to get the height and width of a text element, and use that to compute vjust.text-anchor
property.The text was updated successfully, but these errors were encountered: