option = {
backgroundColor: '#1b1b1b',
colors:['#5470C6', '#5470C6'],
title: {
textStyle: {
fontWeight: 'bold',
color: '#319DF5'
},
x: 'center',
text: '实线与虚线'
},
tooltip: {
trigger: 'axis',
formatter: '{b1}<br>{c1}',
},
xAxis: {
data:['2021年第一季度','2021年上半年','2021年第三季度','2021年全年',],
axisLabel: {
rotate: -30,
textStyle: {
color: '#ccc',
fontSize: 12
}
},axisTick: {
show: fa
实现echarts折线图末端虚线
最新推荐文章于 2024-04-18 14:45:02 发布