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
The current default of 40px is often too small, requiring a custom marginLeft. Since we don’t automatically increase the left margin based on the tick labels #383, we should increase the default, say to 60px. And likewise marginRight if the y axis uses the right anchor.
We should also consider an even larger default if the y scale is ordinal, since ordinal names tend to be longer than numbers. Perhaps 80px. The same applies to the fy axis.
The text was updated successfully, but these errors were encountered:
Another consideration is that ordinal scales tend to use the centerlabelAnchor, which consumes additional margins. So perhaps the default margin could adjust based on whether there is a centered label, too.
The current default of 40px is often too small, requiring a custom marginLeft. Since we don’t automatically increase the left margin based on the tick labels #383, we should increase the default, say to 60px. And likewise marginRight if the y axis uses the right anchor.
We should also consider an even larger default if the y scale is ordinal, since ordinal names tend to be longer than numbers. Perhaps 80px. The same applies to the fy axis.
The text was updated successfully, but these errors were encountered: