问题描述
我需要在symbol
和Xaxis
之间添加填充,
并在这里编码
markLine: {silent: true,symbolSize:5,data: [
{
name : "symbol Bottom",xAxis : dates[dates.length-3]
symbolSize:30
}]}
enter image description here
解决方法
您需要将此添加到xAxis。检出this。
xAxis: {
type: 'category',data: ['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],axisLabel: {
padding: 10,}
},