Echarts坐标轴添加name,添加箭头
xAxis: [
{
name: "日期",//添加名称
nameTextStyle: {
color: "#646464",
padding: [40, 0, 0, -10] ,
fontSize:13
},
nameLocation: "end",//位置
axisLine: {
show: true,
symbol: ["none", "arrow"],//添加箭头
symbolOffset: [0, 20],//
lineStyle: {
color: "#c8c8c8",
width: 1,
type: "solid",
shadowOffsetX: 20,//
shadowColor: "#c8c8c8",//
},
},
]
yAxis: [
axisLine: {
show: true,
symbol: ["none", "arrow"],
symbolOffset: [0, 40],
lineStyle: {
color: "#c8c8c8",
width: 2,
type: "solid",
shadowOffsetY: -40,
shadowColor: "#c8c8c8",
},
},
]