actualInput.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. var option = {
  2. grid: {
  3. left: 200,
  4. right: 50,
  5. top: 50,
  6. bottom: 30,
  7. containLabel: true
  8. },
  9. xAxis: {
  10. type: 'category',
  11. data: ['2012', '2013', '2014', '2015', '2016', '2017', '2018'],
  12. boundaryGap :false,
  13. axisLabel: {
  14. color: '#000',
  15. fontSize: 16
  16. }
  17. },
  18. yAxis: {
  19. name: '单位(万元)',
  20. nameTextStyle: {
  21. color: '#000',
  22. fontSize: 16,
  23. },
  24. type: 'value',
  25. boundaryGap :false,
  26. axisLabel: {
  27. color: '#000',
  28. fontSize: 16
  29. }
  30. },
  31. series: [{
  32. data: [2177, 1600, 2541, 2917, 3866, 2870, 2617],
  33. type: 'line',
  34. lineStyle: {
  35. color: "#03E0F2"
  36. },
  37. label: {
  38. show: true,
  39. position: 'top',
  40. textStyle: {
  41. color: 'black',
  42. fontSize: 16
  43. }
  44. },
  45. itemStyle : {
  46. normal : {
  47. color : 'rgba(255,0,0,0.2)',
  48. lineStyle : {
  49. color : 'rgba(255,0,0,0.5)',
  50. width : 3
  51. }
  52. }
  53. },
  54. areaStyle: {}
  55. }]
  56. }