Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. {
  2. chart: {
  3. type: 'column',
  4. backgroundColor: '#b9bbbb'
  5. },
  6. title: {
  7. text: 'Tagging',
  8. style: {
  9. fontWeight: 'bold',
  10. color: 'white'
  11. }
  12. },
  13. xAxis: {
  14. categories: ['Aug. 6, 2019', 'Aug. 7, 2019', 'Aug. 8, 2019', 'Aug. 9, 2019', 'Aug. 10, 2019', 'Aug. 11, 2019', 'Aug. 12, 2019', ],
  15. labels: {
  16. style: {
  17. fontWeight: 'bold',
  18. color: 'white'
  19. }
  20. }
  21. },
  22. yAxis: {
  23. title: {
  24. text: 'Counts',
  25. style: {
  26. fontWeight: 'bold',
  27. color: 'white'
  28. }
  29. },
  30. gridLineWidth: 0.4,
  31. labels: {
  32. formatter: function() {
  33. return Math.abs(this.value);
  34. },
  35. style: {
  36. fontWeight: 'bold',
  37. color: 'white'
  38. }
  39. },
  40. stackLabels: {
  41. formatter: function() {
  42. return Math.abs(this.total);
  43. },
  44. enabled: true,
  45. style: {
  46. color: (Highcharts.defaultOptions.title.style && Highcharts.defaultOptions.title.style.color) || 'white'
  47. }
  48. }
  49. },
  50. legend: {
  51. align: 'center',
  52. verticalAlign: 'bottom',
  53. floating: false,
  54. backgroundColor: '',
  55. borderColor: '',
  56. borderWidth: 0,
  57. shadow: false,
  58. itemStyle: {
  59. 'color': 'white',
  60. 'fontWeight': 'bold'
  61. }
  62. },
  63. plotOptions: {
  64. column: {
  65. borderWidth: 0,
  66. stacking: 'normal',
  67. dataLabels: {
  68. enabled: false
  69. }
  70. }
  71. },
  72. series: [{
  73. name: 'Report Done',
  74. data: [1159, 88, 91, 80, 42, 39, 83, ],
  75. stack: 'one',
  76. color: 'green'
  77. },
  78. {
  79. name: 'Report Failed',
  80. data: [-6, 0, 0, 0, 0, 0, 0, ],
  81. stack: 'one',
  82. color: 'crimson'
  83. }, {
  84. name: 'Intellifeed Done',
  85. data: [1004, 1213, 1095, 415, 106, 36, 1797, ],
  86. stack: 'two',
  87. color: 'lightgreen'
  88. },
  89. {
  90. name: 'Intellifeed Failed',
  91. data: [-125, -92, -89, -26, 0, 0, -185, ],
  92. stack: 'two',
  93. color: 'coral'
  94. }
  95. ]
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement