echarts显示坐标轴

symbol: arrow

option = {
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
    axisLine: {
      symbol: ['none', 'arrow'],
    }
  },
  yAxis: {
    type: 'value',
    axisLine: {
      show: true,
      symbol: ['none', 'arrow'],
    }
  },
  series: [
    {
      data: [150, 230, 224, 218, 135, 147, 260],
      type: 'line'
    }
  ]
};
image.png

你可能感兴趣的:(echarts显示坐标轴)