demo.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <link rel="shortcut icon" href="/img/logo.png" />
  7. <link rel="bookmark" href="/img/logo.png" />
  8. <link href="/Plugins/animate/animate.min.css" rel="stylesheet" />
  9. <link rel="stylesheet" href="../DashBoard.css?v3" />
  10. <script src="/Plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
  11. <script src="/Plugins/animate/xanimate.js"></script>
  12. <script src="/Plugins/xrequest/xrequest.min.js"></script>
  13. <title>东科软件</title>
  14. </head>
  15. <body style="background-color:black;">
  16. <div class="box_1920_1080">
  17. <div class="box_title" style="display:flex;flex-direction:row;">
  18. <div style="width:30%;text-align:left;"></div>
  19. <div style="width: 40%; text-align: center; font-size: 38px; font-weight: 700">成检工序看板</div>
  20. <div style="width:30%;text-align:right;"><span class="box_title_loading" style="font-size:32px;" id="报表加载"></span></div>
  21. </div>
  22. <div class="box_body" style="display: flex; flex-direction: column;">
  23. <!--31天产量曲线图-->
  24. <div style="width:1840px;height:400px;display:flex;flex-direction:row;">
  25. <div style="width: 100%; height: 400px;">
  26. <div style="color:white;font-size:20px;font-weight:600; text-align:center">每日产量计划达成</div>
  27. <canvas id="canvasDayCL" style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; height: 350px; width: 100%"></canvas>
  28. </div>
  29. </div>
  30. <!--表格-->
  31. <div style="width:1840px;height:530px;display:flex;flex-direction:row;">
  32. <div style="width: 50%;height:530px;padding-right:20px;">
  33. <table cellspacing="0" cellpadding="0" border="0" style="width:100%">
  34. <tr class="tr_title_warning">
  35. <td colspan="9" style="color:white;">每日型号达成情况</td>
  36. </tr>
  37. <tr class="tr_title_warning">
  38. <td style="font-size: 18px; width: 25%">产品型号</td>
  39. <td style="font-size: 18px; width: 25%">计划数量</td>
  40. <td style="font-size: 18px; width: 25%">达成数量</td>
  41. <td style="font-size: 18px; width: 25%">达成率</td>
  42. </tr>
  43. </table>
  44. <div style="display:flex; height:460px;overflow:hidden;">
  45. <table id="table1" cellspacing="0" cellpadding="0" border="0" style="width:100%;">
  46. <tr class="tr_bg_light_warning" style="height:30px;">
  47. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  48. <td style="font-size: 18px; width: 25%">1</td>
  49. <td style="font-size: 18px; width: 25%">1</td>
  50. <td style="font-size: 18px; width: 25%">80%</td>
  51. </tr>
  52. <tr class="tr_bg_light_warning" style="height:30px;">
  53. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  54. <td style="font-size: 18px; width: 25%">2</td>
  55. <td style="font-size: 18px; width: 25%">2</td>
  56. <td style="font-size: 18px; width: 25%">80%</td>
  57. </tr>
  58. <tr class="tr_bg_light_warning" style="height:30px;">
  59. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  60. <td style="font-size: 18px; width: 25%">3</td>
  61. <td style="font-size: 18px; width: 25%">3</td>
  62. <td style="font-size: 18px; width: 25%">80%</td>
  63. </tr>
  64. <tr class="tr_bg_light_warning" style="height:30px;">
  65. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  66. <td style="font-size: 18px; width: 25%">4</td>
  67. <td style="font-size: 18px; width: 25%">4</td>
  68. <td style="font-size: 18px; width: 25%">80%</td>
  69. </tr>
  70. <tr class="tr_bg_light_warning" style="height:30px;">
  71. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  72. <td style="font-size: 18px; width: 25%">5</td>
  73. <td style="font-size: 18px; width: 25%">5</td>
  74. <td style="font-size: 18px; width: 25%">80%</td>
  75. </tr>
  76. <tr class="tr_bg_light_warning" style="height:30px;">
  77. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  78. <td style="font-size: 18px; width: 25%">6</td>
  79. <td style="font-size: 18px; width: 25%">6</td>
  80. <td style="font-size: 18px; width: 25%">80%</td>
  81. </tr>
  82. <tr class="tr_bg_light_warning" style="height:30px;">
  83. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  84. <td style="font-size: 18px; width: 25%">7</td>
  85. <td style="font-size: 18px; width: 25%">7</td>
  86. <td style="font-size: 18px; width: 25%">80%</td>
  87. </tr>
  88. <tr class="tr_bg_light_warning" style="height:30px;">
  89. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  90. <td style="font-size: 18px; width: 25%">8</td>
  91. <td style="font-size: 18px; width: 25%">8</td>
  92. <td style="font-size: 18px; width: 25%">80%</td>
  93. </tr>
  94. <tr class="tr_bg_light_warning" style="height:30px;">
  95. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  96. <td style="font-size: 18px; width: 25%">9</td>
  97. <td style="font-size: 18px; width: 25%">9</td>
  98. <td style="font-size: 18px; width: 25%">80%</td>
  99. </tr>
  100. <tr class="tr_bg_light_warning" style="height:30px;">
  101. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  102. <td style="font-size: 18px; width: 25%">11</td>
  103. <td style="font-size: 18px; width: 25%">11</td>
  104. <td style="font-size: 18px; width: 25%">80%</td>
  105. </tr>
  106. <tr class="tr_bg_light_warning" style="height:30px;">
  107. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  108. <td style="font-size: 18px; width: 25%">12</td>
  109. <td style="font-size: 18px; width: 25%">12</td>
  110. <td style="font-size: 18px; width: 25%">80%</td>
  111. </tr>
  112. <tr class="tr_bg_light_warning" style="height:30px;">
  113. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  114. <td style="font-size: 18px; width: 25%">13</td>
  115. <td style="font-size: 18px; width: 25%">13</td>
  116. <td style="font-size: 18px; width: 25%">80%</td>
  117. </tr>
  118. <tr class="tr_bg_light_warning" style="height:30px;">
  119. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  120. <td style="font-size: 18px; width: 25%">14</td>
  121. <td style="font-size: 18px; width: 25%">14</td>
  122. <td style="font-size: 18px; width: 25%">80%</td>
  123. </tr>
  124. <tr class="tr_bg_light_warning" style="height:30px;">
  125. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  126. <td style="font-size: 18px; width: 25%">15</td>
  127. <td style="font-size: 18px; width: 25%">15</td>
  128. <td style="font-size: 18px; width: 25%">80%</td>
  129. </tr>
  130. <tr class="tr_bg_light_warning" style="height:30px;">
  131. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  132. <td style="font-size: 18px; width: 25%">16</td>
  133. <td style="font-size: 18px; width: 25%">16</td>
  134. <td style="font-size: 18px; width: 25%">80%</td>
  135. </tr>
  136. <tr class="tr_bg_light_warning" style="height:30px;">
  137. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  138. <td style="font-size: 18px; width: 25%">17</td>
  139. <td style="font-size: 18px; width: 25%">17</td>
  140. <td style="font-size: 18px; width: 25%">80%</td>
  141. </tr>
  142. <tr class="tr_bg_light_warning" style="height:30px;">
  143. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  144. <td style="font-size: 18px; width: 25%">18</td>
  145. <td style="font-size: 18px; width: 25%">18</td>
  146. <td style="font-size: 18px; width: 25%">80%</td>
  147. </tr>
  148. <tr class="tr_bg_light_warning" style="height:30px;">
  149. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  150. <td style="font-size: 18px; width: 25%">19</td>
  151. <td style="font-size: 18px; width: 25%">19</td>
  152. <td style="font-size: 18px; width: 25%">80%</td>
  153. </tr>
  154. </table>
  155. </div>
  156. </div>
  157. <div style="width: 50%;height:530px;padding-right:20px;">
  158. <table cellspacing="0" cellpadding="0" border="0" style="width:100%">
  159. <tr class="tr_title_warning">
  160. <td colspan="9" style="color:white;">每月型号达成情况</td>
  161. </tr>
  162. <tr class="tr_title_warning">
  163. <td style="font-size: 18px; width: 25%">产品型号</td>
  164. <td style="font-size: 18px; width: 25%">计划数量</td>
  165. <td style="font-size: 18px; width: 25%">达成数量</td>
  166. <td style="font-size: 18px; width: 25%">达成率</td>
  167. </tr>
  168. </table>
  169. <div style="display:flex; height:460px;overflow:hidden;">
  170. <table id="table1" cellspacing="0" cellpadding="0" border="0" style="width:100%;">
  171. <tr class="tr_bg_light_warning" style="height:30px;">
  172. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  173. <td style="font-size: 18px; width: 25%">1</td>
  174. <td style="font-size: 18px; width: 25%">1</td>
  175. <td style="font-size: 18px; width: 25%">80%</td>
  176. </tr>
  177. <tr class="tr_bg_light_warning" style="height:30px;">
  178. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  179. <td style="font-size: 18px; width: 25%">2</td>
  180. <td style="font-size: 18px; width: 25%">2</td>
  181. <td style="font-size: 18px; width: 25%">80%</td>
  182. </tr>
  183. <tr class="tr_bg_light_warning" style="height:30px;">
  184. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  185. <td style="font-size: 18px; width: 25%">3</td>
  186. <td style="font-size: 18px; width: 25%">3</td>
  187. <td style="font-size: 18px; width: 25%">80%</td>
  188. </tr>
  189. <tr class="tr_bg_light_warning" style="height:30px;">
  190. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  191. <td style="font-size: 18px; width: 25%">4</td>
  192. <td style="font-size: 18px; width: 25%">4</td>
  193. <td style="font-size: 18px; width: 25%">80%</td>
  194. </tr>
  195. <tr class="tr_bg_light_warning" style="height:30px;">
  196. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  197. <td style="font-size: 18px; width: 25%">5</td>
  198. <td style="font-size: 18px; width: 25%">5</td>
  199. <td style="font-size: 18px; width: 25%">80%</td>
  200. </tr>
  201. <tr class="tr_bg_light_warning" style="height:30px;">
  202. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  203. <td style="font-size: 18px; width: 25%">6</td>
  204. <td style="font-size: 18px; width: 25%">6</td>
  205. <td style="font-size: 18px; width: 25%">80%</td>
  206. </tr>
  207. <tr class="tr_bg_light_warning" style="height:30px;">
  208. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  209. <td style="font-size: 18px; width: 25%">7</td>
  210. <td style="font-size: 18px; width: 25%">7</td>
  211. <td style="font-size: 18px; width: 25%">80%</td>
  212. </tr>
  213. <tr class="tr_bg_light_warning" style="height:30px;">
  214. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  215. <td style="font-size: 18px; width: 25%">8</td>
  216. <td style="font-size: 18px; width: 25%">8</td>
  217. <td style="font-size: 18px; width: 25%">80%</td>
  218. </tr>
  219. <tr class="tr_bg_light_warning" style="height:30px;">
  220. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  221. <td style="font-size: 18px; width: 25%">9</td>
  222. <td style="font-size: 18px; width: 25%">9</td>
  223. <td style="font-size: 18px; width: 25%">80%</td>
  224. </tr>
  225. <tr class="tr_bg_light_warning" style="height:30px;">
  226. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  227. <td style="font-size: 18px; width: 25%">11</td>
  228. <td style="font-size: 18px; width: 25%">11</td>
  229. <td style="font-size: 18px; width: 25%">80%</td>
  230. </tr>
  231. <tr class="tr_bg_light_warning" style="height:30px;">
  232. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  233. <td style="font-size: 18px; width: 25%">12</td>
  234. <td style="font-size: 18px; width: 25%">12</td>
  235. <td style="font-size: 18px; width: 25%">80%</td>
  236. </tr>
  237. <tr class="tr_bg_light_warning" style="height:30px;">
  238. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  239. <td style="font-size: 18px; width: 25%">13</td>
  240. <td style="font-size: 18px; width: 25%">13</td>
  241. <td style="font-size: 18px; width: 25%">80%</td>
  242. </tr>
  243. <tr class="tr_bg_light_warning" style="height:30px;">
  244. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  245. <td style="font-size: 18px; width: 25%">14</td>
  246. <td style="font-size: 18px; width: 25%">14</td>
  247. <td style="font-size: 18px; width: 25%">80%</td>
  248. </tr>
  249. <tr class="tr_bg_light_warning" style="height:30px;">
  250. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  251. <td style="font-size: 18px; width: 25%">15</td>
  252. <td style="font-size: 18px; width: 25%">15</td>
  253. <td style="font-size: 18px; width: 25%">80%</td>
  254. </tr>
  255. <tr class="tr_bg_light_warning" style="height:30px;">
  256. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  257. <td style="font-size: 18px; width: 25%">16</td>
  258. <td style="font-size: 18px; width: 25%">16</td>
  259. <td style="font-size: 18px; width: 25%">80%</td>
  260. </tr>
  261. <tr class="tr_bg_light_warning" style="height:30px;">
  262. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  263. <td style="font-size: 18px; width: 25%">17</td>
  264. <td style="font-size: 18px; width: 25%">17</td>
  265. <td style="font-size: 18px; width: 25%">80%</td>
  266. </tr>
  267. <tr class="tr_bg_light_warning" style="height:30px;">
  268. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  269. <td style="font-size: 18px; width: 25%">18</td>
  270. <td style="font-size: 18px; width: 25%">18</td>
  271. <td style="font-size: 18px; width: 25%">80%</td>
  272. </tr>
  273. <tr class="tr_bg_light_warning" style="height:30px;">
  274. <td style="font-size: 18px; width: 25%">H0966L-W</td>
  275. <td style="font-size: 18px; width: 25%">19</td>
  276. <td style="font-size: 18px; width: 25%">19</td>
  277. <td style="font-size: 18px; width: 25%">80%</td>
  278. </tr>
  279. </table>
  280. </div>
  281. </div>
  282. <!--<div style="width: 25%;height:530px;">
  283. <div style="color:white;font-size:20px;font-weight:600; text-align:center">每月产量计划达成</div>
  284. <canvas id="canvasMonthCL" style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; height: 400px; width: 100%"></canvas>
  285. </div>-->
  286. </div>
  287. </div>
  288. </div>
  289. <script>
  290. $(document).ready(function () {
  291. initData();
  292. doGetData = setInterval(function () { timeUpdate(); }, 2000);
  293. setInterval(timerFn, 3000);
  294. });
  295. function timerFn(){
  296. var scrollHeight = $("#table1").find("tr").outerHeight();
  297. $("#table1").animate({marginTop: -scrollHeight,},500,
  298. function () {
  299. $(this).css({marginTop: "0px",}).find("tr:first").appendTo(this);
  300. }
  301. );
  302. }
  303. function timeUpdate() {
  304. loadData();
  305. }
  306. function loadData() {
  307. //31天产量
  308. window.DayCL.data.datasets[0].data = [
  309. randomScalingFactor(8) + 5,
  310. randomScalingFactor(8) + 5,
  311. randomScalingFactor(8) + 5,
  312. randomScalingFactor(8) + 5,
  313. randomScalingFactor(8) + 5,
  314. randomScalingFactor(8) + 5,
  315. randomScalingFactor(8) + 5,
  316. randomScalingFactor(8) + 5,
  317. randomScalingFactor(8) + 5,
  318. randomScalingFactor(8) + 5,
  319. randomScalingFactor(8) + 5,
  320. randomScalingFactor(8) + 5,
  321. randomScalingFactor(8) + 5,
  322. randomScalingFactor(8) + 5,
  323. randomScalingFactor(8) + 5,
  324. randomScalingFactor(8) + 5,
  325. randomScalingFactor(8) + 5,
  326. randomScalingFactor(8) + 5,
  327. randomScalingFactor(8) + 5,
  328. randomScalingFactor(8) + 5,
  329. randomScalingFactor(8) + 5,
  330. randomScalingFactor(8) + 5,
  331. randomScalingFactor(8) + 5,
  332. randomScalingFactor(8) + 5,
  333. randomScalingFactor(8) + 5,
  334. randomScalingFactor(8) + 5,
  335. randomScalingFactor(8) + 5,
  336. randomScalingFactor(8) + 5,
  337. randomScalingFactor(8) + 5,
  338. randomScalingFactor(8) + 5,
  339. randomScalingFactor(8) + 5
  340. ];
  341. window.DayCL.data.datasets[1].data = [
  342. randomScalingFactor(8),
  343. randomScalingFactor(8),
  344. randomScalingFactor(8),
  345. randomScalingFactor(8),
  346. randomScalingFactor(8),
  347. randomScalingFactor(8),
  348. randomScalingFactor(8),
  349. randomScalingFactor(8),
  350. randomScalingFactor(8),
  351. randomScalingFactor(8),
  352. randomScalingFactor(8),
  353. randomScalingFactor(8),
  354. randomScalingFactor(8),
  355. randomScalingFactor(8),
  356. randomScalingFactor(8),
  357. randomScalingFactor(8),
  358. randomScalingFactor(8),
  359. randomScalingFactor(8),
  360. randomScalingFactor(8),
  361. randomScalingFactor(8),
  362. randomScalingFactor(8),
  363. randomScalingFactor(8),
  364. randomScalingFactor(8),
  365. randomScalingFactor(8),
  366. randomScalingFactor(8),
  367. randomScalingFactor(8),
  368. randomScalingFactor(8),
  369. randomScalingFactor(8),
  370. randomScalingFactor(8),
  371. randomScalingFactor(8),
  372. randomScalingFactor(8)
  373. ];
  374. window.DayCL.update();
  375. //产量计划达成
  376. window.MonthCL.data.datasets[0].data = [
  377. randomScalingFactor(1000),
  378. randomScalingFactor(1000)
  379. ];
  380. window.MonthCL.update();
  381. }
  382. function initData() {
  383. window.chartColors = {
  384. red: 'rgb(255, 99, 132)',
  385. orange: 'rgb(255, 159, 64)',
  386. yellow: 'rgb(255, 250, 86)',
  387. green: 'rgb(75, 192, 192)',
  388. blue: 'rgb(54, 162, 250)',
  389. purple: 'rgb(153, 102, 255)',
  390. grey: 'rgb(231,233,237)'
  391. };
  392. var color = Chart.helpers.color;
  393. window.randomScalingFactor = function (num) {
  394. return Math.round(Math.random() * num);
  395. }
  396. Chart.defaults.global.defaultFontColor = 'white';
  397. Chart.defaults.global.defaultFontSize = 18;
  398. Chart.defaults.global.legend.display = false;
  399. //每小时产量=========================================
  400. window.configDayCL = {
  401. data: {
  402. labels: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31"],
  403. datasets: [{
  404. label: "日计划",
  405. backgroundColor: color(window.chartColors.orange).alpha(0.6).rgbString(),
  406. borderColor: window.chartColors.orange,
  407. borderWidth: 2,
  408. pointRadius: 15,
  409. data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  410. fill: false,
  411. }, {
  412. label: "日达成",
  413. fill: false,
  414. backgroundColor: color(window.chartColors.blue).alpha(0.6).rgbString(),
  415. borderColor: window.chartColors.blue,
  416. borderWidth: 2,
  417. pointRadius: 15,
  418. data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
  419. }]
  420. },
  421. type: 'line',
  422. options: {
  423. responsive: true,
  424. legend: {
  425. display: true
  426. },
  427. title: {
  428. display: false,
  429. text: '每小时产量'
  430. },
  431. tooltips: {
  432. mode: 'index',
  433. intersect: false,
  434. },
  435. hover: {
  436. mode: 'nearest',
  437. intersect: true
  438. },
  439. scales: {
  440. xAxes: [{
  441. display: true,
  442. scaleLabel: {
  443. display: false,
  444. labelString: ''
  445. }
  446. }],
  447. yAxes: [{
  448. display: true,
  449. scaleLabel: {
  450. display: false,
  451. labelString: 'Value'
  452. }
  453. }]
  454. }
  455. }
  456. };
  457. var ctxDayCL = document.getElementById("canvasDayCL").getContext("2d");
  458. window.DayCL = new Chart(ctxDayCL, configDayCL);
  459. //===================================================
  460. ////月饼图===========================================
  461. //window.configMonthCL = {
  462. // data: {
  463. // labels: ['待达成', '月达成'],
  464. // datasets: [{
  465. // label: '工序',
  466. // backgroundColor: [
  467. // color(window.chartColors.red).alpha(0.35).rgbString(),
  468. // color(window.chartColors.blue).alpha(0.35).rgbString(),
  469. // color(window.chartColors.green).alpha(0.35).rgbString(),
  470. // color(window.chartColors.orange).alpha(0.35).rgbString(),
  471. // color(window.chartColors.purple).alpha(0.35).rgbString()
  472. // ],
  473. // fill: false,
  474. // borderColor: [
  475. // window.chartColors.red,
  476. // window.chartColors.blue,
  477. // window.chartColors.green,
  478. // window.chartColors.orange,
  479. // window.chartColors.purple
  480. // ],
  481. // borderWidth: 2,
  482. // pointRadius: 30,
  483. // data: [0, 0]
  484. // }]
  485. // },
  486. // type: 'doughnut',
  487. // options: {
  488. // legend: {
  489. // display: true
  490. // },
  491. // title: {
  492. // display: false,
  493. // text: ""
  494. // },
  495. // tooltips: {
  496. // mode: 'point',
  497. // intersect: false
  498. // },
  499. // responsive: true
  500. // }
  501. //};
  502. //var ctxMonthCL = document.getElementById("canvasMonthCL").getContext("2d");
  503. //window.MonthCL = new Chart(ctxMonthCL, configMonthCL);
  504. ////===================================================
  505. }
  506. </script>
  507. <script src="/Plugins/chartjs-2.8.0/chart-2.8.min.js"></script>
  508. <script src="/Plugins/chartjs-2.8.0/chartjs-plugin-datalabels.js"></script>
  509. <script src="/Plugins/chartjs-2.8.0/utils.js"></script>
  510. <script src="/Plugins/circleChart/circleChart.min.js"></script>
  511. </body>
  512. </html>