itemStyle: {

normal: {label: { show: false }}

},

  1. series: [
  2. {
  3. type: 'line',
  4. areaStyle: {
  5. normal: {
  6. type: 'default',
  7. color: new echarts.graphic.LinearGradient(0, 0, 0, 0.8, [{
  8. offset: 0,
  9. color: '#25f3e6'
  10. }, {
  11. offset: 1,
  12. color: '#0089ff'
  13. }], false)
  14. }
  15. },
  16. smooth: true,
  17. itemStyle: {
  18. normal: {
  19. areaStyle: { type: 'default' },
  20. label: { show: false } // 在这里,不显示折线点的数据
  21. }
  22. },
  23. data: [710, 312, 321, 754, 500, 830, 710, 521, 504, 660, 530, 410, 710, 312, 321, 754, 500, 830, 710, 521, 504, 660, 530, 410]
  24. }
  25. ]