function drawZXT(id, data) {
myChart = echarts.init(document.getElementById(id));
option = {
title: {
text: '流量计折线图',
//subtext: '纯属虚构'
},
tooltip: {
trigger: 'axis',
axisPointer: {
show: true,
type: 'cross',
lineStyle: {
type: 'dashed',
width: 1
}
},
formatter: function(params) {
var value=f
echarts 动态生成多条折线图和动态获得x轴并于数字相对应
最新推荐文章于 2023-07-20 17:46:57 发布