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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yaxis labels are being cut off #6234

Closed
akvaliya opened this issue Jul 19, 2017 · 4 comments
Closed

Yaxis labels are being cut off #6234

akvaliya opened this issue Jul 19, 2017 · 4 comments

Comments

@akvaliya
Copy link

I have used plugin ngEcharts for display charts. is displays like below.
visitors by industries

As you can see yAxis labels are being cut off. can anyone point me on the direction to how to prevent this or increase yAxis label area or decrease chart area?

@CWSchen
Copy link

CWSchen commented Jul 20, 2017

please have a try css padding
for example
‘《’div id="main" style="width:100%;height:500px;border:1px solid #ddd;padding:50px;"></div》

@100pah
Copy link
Member

100pah commented Jul 20, 2017

Increase grid.left,

Or set grid.containLabel as true.

@akvaliya
Copy link
Author

@100pah Thanks. Got it working!

@100pah 100pah closed this as completed Jul 21, 2017
@iamtekson
Copy link

Y-axis label name is still cut off. Can anyone suggest to me how to make the y-axis name visible?

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

4 participants