-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Cannot calculate left margin of e chart without considering axis labels when containLabel is enabled #13110
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
enThis issue is in EnglishThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
Version
4.8.0
Reproduction link
https://jsfiddle.net/Lq9cgstf/
Steps to reproduce
Check the linked jsfiddle
What is expected?
There should be a way to calculate the left margin and right margin (in case of dual-axis) of the charts without considering the y-axis labels.
What is actually happening?
I want to align the single axis and the x-axis of the normal line chart together, but because the labels can be bigger I cannot align them both together.
As you can see in the js-fiddle example, the single-axis is not aligned with the chart below because the chart has bigger y-axis labels.
If we know the left/right margin, i.e from the chart axis to the left/right of the chart container, then we would be able to align them both together.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enThis issue is in EnglishThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Type
Fields
Give feedbackNo fields configured for issues without a type.