options: {
color: ["#4D7CFE", "#F1683F"],
grid: { //grid 组件离容器上下左右侧的距离
left: '3%',
right: '3%',
top:'40',
bottom: '3%',
containLabel: true
},
xAxis: {
splitLine: {
show: false ,
},
axisLabel: {
color: '#B6B6B6'
}
},
yAxis: [
{
axisLabel: {
color: "#B6B6B6",
formatter: "{value} ",
},
splitLine: {
lineStyle: {
type: "dashed", //设置网格线类型 dotted:虚线 solid:实线
},
show: true,
},
},
{
axisLabel: {
color: "#B6B6B6",
formatter: "{value} ",
}
}
],
},
echarts图表宽高
最新推荐文章于 2024-07-08 14:56:22 发布