We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
给坐标轴设置了axisLabel.textStyle.fontSize后(比如:yAxis.axisLabel.textStyle.fontSize),grid.containLabel无效。当数值刻度很大时,刻度还是会被隐藏
1.设置yAxis.axisLabel.textStyle.fontSize 2.grid.containLabel=true; 3.数值设置很大 data=[93245324234,2,312,21,12]
y轴的刻度值不会被挡住。
不设置yAxis.axisLabel.textStyle.fontSize值 时,grid.containLabel=true;就有起作用,刻度不会被挡住
option = {"title":{"text":""},"color":["#f6a03d","#2986cc","#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],"grid":{"left":"auto","containLabel":true},"legend":{"left":"right","top":"middle","orient":"vertical","data":["天数"],"show":false},"series":[{"name":"天数","barGap":0,"itemStyle":{"normal":{"borderWidth":2,"borderColor":"#AC712F"}},"type":"bar","data":["92323232323","6","9","5","2"]}],"xAxis":{"name":"天气","nameLocation":"end","type":"category","data":["晴","阴","多云","阵雨","雷阵雨"]},"yAxis":{"name":"天数","nameLocation":"end","nameTextStyle":{"fontSize":16},"axisLabel":{"textStyle":{"fontSize":16}},"type":"value","splitLine":{"lineStyle":{"color":"#6E8394","width":2,"type":"dashed"}}}}
The text was updated successfully, but these errors were encountered:
请问这个在哪个版本里解决了?
Sorry, something went wrong.
801a9db
No branches or pull requests
问题简述 (One-line summary)
给坐标轴设置了axisLabel.textStyle.fontSize后(比如:yAxis.axisLabel.textStyle.fontSize),grid.containLabel无效。当数值刻度很大时,刻度还是会被隐藏
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
1.设置yAxis.axisLabel.textStyle.fontSize
2.grid.containLabel=true;
3.数值设置很大 data=[93245324234,2,312,21,12]
期望结果 (Expected behaviour)
y轴的刻度值不会被挡住。
可能哪里有问题 (What went wrong)
不设置yAxis.axisLabel.textStyle.fontSize值 时,grid.containLabel=true;就有起作用,刻度不会被挡住
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: