echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Yaxis labels are being cut off

Open akvaliya opened this issue 9 years ago • 4 comments

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?

akvaliya avatar Jul 19 '17 15:07 akvaliya

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

CWSchen avatar Jul 20 '17 08:07 CWSchen

Increase grid.left,

Or set grid.containLabel as true.

100pah avatar Jul 20 '17 15:07 100pah

@100pah Thanks. Got it working!

akvaliya avatar Jul 21 '17 10:07 akvaliya

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

iamtekson avatar Jan 08 '21 08:01 iamtekson