效果:
引入 import { graphic } from ‘echarts/lib/export’
代码:
const POLAR_OPTIONS = {
legend: {
data: ['发送', '接收'],
},
grid: { //关于盒子 距离
left: '29px',
right: '30px',
bottom: '26px',
top: '40px',
containLabel: true,
},
tooltip: { //提示框
trigger: 'axis',
// formatter: '{a} <br/>{b}: {c}Mb/s',
},
xAxis: {
type: 'category',
boundaryGap: false,
data: [
'07:00:00',
'09:00:00',
'08:00:54',
'09:66:00',
'15:00:00',
'03:66:00',
'3:00:00',
'15:00:00&#