Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰[BUG] Label of column charts are being cut out if label position is set to 'top' #1372

Closed
praveen1143-debug opened this issue Jun 17, 2022 · 3 comments

Comments

@praveen1143-debug
Copy link

In Column charts, if i set label position as 'top', then for some of the items, the label is not shown if it is near the maximum 'Y' value. Please refer the image below.
image

image

Is there any workaround available to get this resolved? Please help. We have a prod release next week and this defect is a blocker.

@praveen1143-debug praveen1143-debug changed the title 馃悰[BUG] Label of column charts are being cut out if set to 'top' 馃悰[BUG] Label of column charts are being cut out if label position is set to 'top' Jun 17, 2022
@lxfu1
Copy link
Member

lxfu1 commented Jun 20, 2022

config={ limitInPlot: true }

@nerdess
Copy link

nerdess commented Jul 4, 2022

config={ limitInPlot: true }

I have the same issue but this does not help...

@nerdess
Copy link

nerdess commented Jul 4, 2022

Actually, this lead me to a solution when studying the docs in depth:

appendPadding: 10

fixed it for me!

Found this property here: https://g2plot.antv.vision/en/docs/api/plots/liquid

@lxfu1 lxfu1 closed this as completed Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants