对数轴 对 X 轴坐标的对数,value 可以为负数

描述:当前是关于Echarts图表中的 折线图 示例。
 
            option = {
  title: {
    text: 'Log Axis',
    left: 'center'
  },
  tooltip: {
    trigger: 'axis',
  },
  legend: {
    left: 'left'
  },
  yAxis: {
    type: 'value',
    name: 'y',
    splitLine: { show: true },
  },
  grid: {
    left: '3%',
    right: '4%',
    bottom: '3%',
    containLabel: true
  },
  xAxis: {
    type: 'log',
    name: 'x',
    minorSplitLine:{
        show: true,
        lineStyle:{
          color: '#ebebeb'
        }
    },
    axisLine:{
      onZero:false
    },
    minorTick: {
      splitNumber:9
    },
    splitLine:{
        show: true,
        interval:0,
        lineStyle:{
          color: '#CCC'
        }
    },
    axisLabel:{
        interval:0
    },
  },
  series: [
    {
      name: 'Log1',
      type: 'line',
      data: [[0.2,-150],[49,-150],[123,-263],[34,-425],[32043,-300],[34432,-388],[3235403,-2323],[3294823,-4232]]
    },
     {
      name: 'Log2',
      type: 'line',
      data: [[2,17], [87,155], [32,506], [227,-100], [812,-480], [2472,-1500],  [17412,-5653]]
    }
  ]
};