首页风速图表文字超出

This commit is contained in:
fengrong 2024-11-07 11:06:29 +08:00
parent 8c112b51af
commit 481609bb04

View File

@ -528,7 +528,7 @@ const initpowerChart = () => {
const option = { const option = {
grid: { grid: {
top: 50, top: 50,
right: 23, right: 25,
bottom: 10, bottom: 10,
left: 25, left: 25,
containLabel: true, containLabel: true,
@ -604,6 +604,7 @@ const initpowerChart = () => {
name: '风速m/s', name: '风速m/s',
nameTextStyle: { nameTextStyle: {
color: '#4E5969', color: '#4E5969',
padding: [0, 50, 0, 0],
}, },
axisLine: { axisLine: {
show: false, show: false,