This portal only for GCC Officers. Based on there roles and Group ID they can view there module`s Like PGR, QR Public Asset Feedback, Makkalai Thedi Mayor,etc...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
3.8 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. 'use strict';
  2. $(document).ready(function() {
  3. floatchart()
  4. $(window).on('resize', function() {
  5. floatchart();
  6. });
  7. $('#mobile-collapse').on('click', function() {
  8. setTimeout(function() {
  9. floatchart();
  10. }, 700);
  11. });
  12. var ps = new PerfectScrollbar(".scroll-widget", {
  13. wheelSpeed: 10,
  14. wheelPropagation: true,
  15. minScrollbarLength: 5
  16. });
  17. });
  18. function floatchart() {
  19. $(function() {
  20. //flot options
  21. var options = {
  22. legend: {
  23. show: false
  24. },
  25. series: {
  26. label: "",
  27. curvedLines: {
  28. active: true,
  29. nrSplinePoints: 20
  30. },
  31. },
  32. tooltip: {
  33. show: true,
  34. content: "x : %x | y : %y"
  35. },
  36. grid: {
  37. hoverable: true,
  38. borderWidth: 0,
  39. labelMargin: 0,
  40. axisMargin: 0,
  41. minBorderMargin: 0,
  42. },
  43. yaxis: {
  44. min: 0,
  45. max: 30,
  46. color: 'transparent',
  47. font: {
  48. size: 0,
  49. }
  50. },
  51. xaxis: {
  52. color: 'transparent',
  53. font: {
  54. size: 0,
  55. }
  56. }
  57. };
  58. $.plot($("#app-sale1"), [{
  59. data: [
  60. [0, 18],
  61. [20, 10],
  62. [35, 20],
  63. [50, 10],
  64. [65, 27],
  65. [75, 15],
  66. [90, 20],
  67. ],
  68. color: "#ff5252",
  69. lines: {
  70. show: true,
  71. fill: false,
  72. lineWidth: 3
  73. },
  74. points: {
  75. show: false
  76. },
  77. //curve the line (old pre 1.0.0 plotting function)
  78. curvedLines: {
  79. apply: true,
  80. }
  81. }], options);
  82. $.plot($("#app-sale2"), [{
  83. data: [
  84. [0, 10],
  85. [20, 25],
  86. [35, 27],
  87. [50, 10],
  88. [65, 20],
  89. [75, 10],
  90. [90, 18],
  91. ],
  92. color: "#448aff",
  93. lines: {
  94. show: true,
  95. fill: false,
  96. lineWidth: 3
  97. },
  98. points: {
  99. show: false
  100. },
  101. //curve the line (old pre 1.0.0 plotting function)
  102. curvedLines: {
  103. apply: true,
  104. }
  105. }], options);
  106. $.plot($("#app-sale3"), [{
  107. data: [
  108. [0, 18],
  109. [20, 10],
  110. [35, 20],
  111. [50, 10],
  112. [65, 27],
  113. [75, 15],
  114. [90, 20],
  115. ],
  116. color: "#ffba57",
  117. lines: {
  118. show: true,
  119. fill: false,
  120. lineWidth: 3
  121. },
  122. points: {
  123. show: false
  124. },
  125. //curve the line (old pre 1.0.0 plotting function)
  126. curvedLines: {
  127. apply: true,
  128. }
  129. }], options);
  130. $.plot($("#app-sale4"), [{
  131. data: [
  132. [0, 10],
  133. [20, 25],
  134. [35, 27],
  135. [50, 10],
  136. [65, 20],
  137. [75, 10],
  138. [90, 18],
  139. ],
  140. color: "#9ccc65",
  141. lines: {
  142. show: true,
  143. fill: false,
  144. lineWidth: 3
  145. },
  146. points: {
  147. show: false
  148. },
  149. //curve the line (old pre 1.0.0 plotting function)
  150. curvedLines: {
  151. apply: true,
  152. }
  153. }], options);
  154. });
  155. }