更改前
更改后
series: [
{
name: "收入",
type: "line",
data: [10, 11, 13, 11, 12, 12, 9],
lineStyle: {
color: "blue",
},
symbol: "circle",// 将折线图的节点改为实心
symbolSize: 8,// 改变节点大小
itemStyle: {
normal: {
color: "blue",// 改变节点颜色
},
},
},
]