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
Autorotated x axis tick texts are broken in V2.
As you can see in the screenshot below, the texts get cut at the end of the x axis.
How it should look like:
It looks like the x axis clip path is cutting them off, as you can see below :
xAxisClipPathWidth = 524.5437140659369
7419f44 says, that x axis clip path fits the real axis size. Wouldn't the real axis size include the overflow, if autorotate is enabled and getAxisTickRotate() returns value > 0?
Description
Autorotated x axis tick texts are broken in V2.

As you can see in the screenshot below, the texts get cut at the end of the x axis.
How it should look like:

It looks like the x axis clip path is cutting them off, as you can see below :
xAxisClipPathWidth = 524.5437140659369

7419f44 says, that x axis clip path fits the real axis size. Wouldn't the real axis size include the overflow, if autorotate is enabled and
getAxisTickRotate()
returns value > 0?Adding
getXAxisTickTextY2Overflow()
to https://github.com/naver/billboard.js/blob/master/src/ChartInternal/internals/clip.ts#L61 fixed the problem for me locally.Steps to check or reproduce
The text was updated successfully, but these errors were encountered: