options={
title: {
text: title,
left: '5%',
top: '5',
textStyle: {
fontSize: 14,
color: 'black'
},
padding: 10
},
grid: {
top: '25%',
bottom: '10%'
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow',
label: {
show: true
}
}
},
xAxis: {
data: [1月,2月,3月,4月,5月,6月,7月,8月,9月,10月,11月,12月],
axisTick: {
show: true // 隐藏X轴刻度
},
axisLabel: {
show: true,
textStyle: {
color: 'black' // X轴文字颜色
}
},
axisLine: {
show: true,
lineStyle: {
color: '#01FCE3'
}
}
},
yAxis: [
Echarts-柱状图、折线图
最新推荐文章于 2024-09-28 22:46:23 发布