echarts 折线图鼠标放上去显示X轴和Y轴的数据信息

 tooltip : {
            trigger: 'axis',
            axisPointer: {
              type: 'cross',
              label: {
                backgroundColor: '#6a7985'
              }
            }
          },

 

你可能感兴趣的:(Echarts)