echarts横向分隔线去不掉怎么办?
option = {
title : {
subtext: '纯属虚构'
},
tooltip : {
trigger: 'axis'
},
legend: {
data:['成交']
},
grid:{
borderWidth:0,
borderColor:'#e3b'
},
calculable : true,
xAxis : [
{
type : 'category',
boundaryGap : false,
splitLine : {
show:false,
lineStyle: {
color: '#483d8b',
type: 'dashed',
width: 1
}
},
data : ['周一','周二','周三','周四','周五','周六','周日']
}
],
yAxis : [
{
type : 'value',
splitLine : {
show:false,
lineStyle: {
color: '#483d8b',
type: 'dashed',
width: 1
}
}
}
],
series : [
{
name:'成交',
type:'line',
smooth:true,
itemStyle: {normal: {areaStyle: {type: 'default'}}},
data:[10, 12, 21, 54, 260, 830, 710]
}
]
};
----------------------------------------
splitLine的show属性设置为false;
将其放置到xAxis与yAxis的属性内
grid:{ borderWidth:0}去掉外围边框线