商丘12345 前端

sourceChannel.js 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. //part 1 //投诉类别月统计 对接完毕
  2. var part_1 = echarts.init(document.getElementById('part_1'));
  3. part_1.setOption({
  4. title: {
  5. text: ''
  6. },
  7. tooltip: {
  8. trigger: 'axis'
  9. },
  10. legend: {
  11. x: 'center',
  12. data:['']
  13. },
  14. textStyle: {
  15. fontSize: 36
  16. },
  17. radar: [
  18. {
  19. indicator: [
  20. {text: '咨询',max: 99999},
  21. {text: '投诉',max: 99999},
  22. {text: '求助',max: 99999},
  23. {text: '表扬',max: 99999},
  24. {text: '建议',max: 99999},
  25. {text: '其它',max: 99999}
  26. ],
  27. splitArea: {
  28. areaStyle: {
  29. color: ['rgba(114, 172, 209, 0.1)',
  30. 'rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.3)',
  31. 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.5)',
  32. 'rgba(114, 172, 209, 0.6)'],
  33. shadowColor: 'rgba(0, 0, 0, 0.3)',
  34. shadowBlur: 10
  35. }
  36. },
  37. center: ['50%','50%'],
  38. radius: 300
  39. }
  40. ],
  41. series: [
  42. {
  43. type: 'radar',
  44. tooltip: {
  45. trigger: 'item'
  46. },
  47. itemStyle: {normal: {areaStyle: {type: 'default'}}},
  48. data: [
  49. {
  50. value: [65926,8611,428,1532,1776,736],
  51. name: '业务类型',
  52. areaStyle: {
  53. normal: {
  54. color: 'rgba(255, 255, 255, 0.0)'
  55. }
  56. }
  57. }
  58. ]
  59. }
  60. ]
  61. });
  62. //function partTwo() {
  63. // part_1.setOption({
  64. // series: {
  65. // data:{
  66. // value: [80,80,80,80,80,80],
  67. // name: '某软件',
  68. // areaStyle: {
  69. // normal: {
  70. // color: 'rgba(255, 214, 103, 0.0)'
  71. // }
  72. // }
  73. // }
  74. // }
  75. // });
  76. //}
  77. //Ajax1();
  78. //function Ajax1() {
  79. // partTwo()
  80. //}