一.js: function updateChart(versionList,rateList) { option = { title: { text: '拖动频次' }, tooltip : { trigger: 'axis', axisPointer : { // 坐标轴指示器,坐标轴触发有效 type : 'shadow' // 默认为直线,可选为:'line' | 'shadow' } }, legend: { itemWidth:15, itemHeight:15, data:['拖动…