{"id":58,"date":"2026-02-15T06:34:50","date_gmt":"2026-02-15T06:34:50","guid":{"rendered":"https:\/\/node.thessaloniki.gr\/objections\/?page_id=58"},"modified":"2026-02-15T21:43:05","modified_gmt":"2026-02-15T21:43:05","slug":"statistics","status":"publish","type":"page","link":"https:\/\/node.thessaloniki.gr\/objections\/statistics\/","title":{"rendered":"\u03a3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac"},"content":{"rendered":"<div class=\"police-dashboard-wrap\"><div style=\"display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px;\"><div class=\"police-dashboard-card\" style=\"flex: 1; min-width: 200px; text-align: center;\"><div class=\"police-dashboard-metric\">32936<\/div><div class=\"police-dashboard-label\">Total Objections<\/div><\/div><div class=\"police-dashboard-card\" style=\"flex: 1; min-width: 200px; text-align: center;\"><div class=\"police-dashboard-metric\" style=\"color: #dba617;\">7101<\/div><div class=\"police-dashboard-label\">Pending<\/div><\/div><div class=\"police-dashboard-card\" style=\"flex: 1; min-width: 200px; text-align: center;\"><div class=\"police-dashboard-metric\" style=\"color: #00a32a;\">25835<\/div><div class=\"police-dashboard-label\">Answered<\/div><div style=\"font-size: 0.9em; margin-top: 5px; color: #666;\"><span style=\"color: #2ecc71;\">Approved: 25701<\/span> | <span style=\"color: #e74c3c;\">Rejected: 0<\/span> | <span style=\"color: #95a5a6;\">Other: 134<\/span><\/div><\/div><\/div><div style=\"display: flex; gap: 20px; flex-wrap: wrap;\"><div class=\"police-dashboard-card\" style=\"flex: 1; min-width: 300px;\"><h2>Top Decision Reasons<\/h2><div class=\"police-chart-container\"><canvas id=\"statusChart\"><\/canvas><\/div><\/div><div class=\"police-dashboard-card\" style=\"flex: 2; min-width: 400px;\"><h2>Objections per Month (Last 12 Months)<\/h2><div class=\"police-chart-container\"><canvas id=\"monthlyChart\"><\/canvas><\/div><\/div><\/div><div style=\"display: flex; gap: 20px; flex-wrap: wrap;\"><div class=\"police-dashboard-card\" style=\"flex: 1; min-width: 300px;\"><h2>Violation Types<\/h2><div class=\"police-chart-container\"><canvas id=\"typeChart\"><\/canvas><\/div><\/div><\/div>        <script>\r\n            document.addEventListener('DOMContentLoaded', function () {\r\n                \/\/ Check if element exists before creating chart (in case script runs but DOM element missing)\r\n\r\n                \/\/ Status Chart\r\n                \/\/ Response Types Chart (Horizontal Bar)\r\n                var ctxDecision = document.getElementById('statusChart');\r\n                if (ctxDecision) {\r\n                    new Chart(ctxDecision, {\r\n                        type: 'bar',\r\n                        data: {\r\n                            labels: [\"\\u039a\\u03b1\\u03c4\\u03b1\\u03b2\\u03bf\\u03bb\\u03ae \\u03c4\\u03ad\\u03bb\\u03bf\\u03c5\\u03c2\",\"\\u0391\\u03b2\\u03ac\\u03c3\\u03b9\\u03bc\\u03b7 \\u03b3\\u03b5\\u03bd\\u03b9\\u03ba\\u03ac\",\"\\u039a\\u03b1\\u03c4\\u03b1\\u03b2\\u03bf\\u03bb\\u03ae \\u03c4\\u03ad\\u03bb\\u03bf\\u03c5\\u03c2 \\u03bc\\u03b5 \\u03bb\\u03ac\\u03b8\\u03bf\\u03c2 \\u03c3\\u03c4\\u03bf\\u03b9\\u03c7\\u03b5\\u03af\\u03b1\",\"\\u0391\\u03b2\\u03ac\\u03c3\\u03b9\\u03bc\\u03b7 - \\u03bc\\u03b7 \\u03ba\\u03b1\\u03c4\\u03b1\\u03b2\\u03bf\\u03bb\\u03ae \\u03c4\\u03ad\\u03bb\\u03bf\\u03c5\\u03c2\",\"\\u039a\\u03ac\\u03c4\\u03bf\\u03c7\\u03bf\\u03c2 \\u03ba\\u03ac\\u03c1\\u03c4\\u03b1\\u03c2 \\u03bc\\u03cc\\u03bd\\u03b9\\u03bc\\u03bf\\u03c5 \\u03ba\\u03b1\\u03c4\\u03bf\\u03af\\u03ba\\u03bf\\u03c5\",\"\\u0395\\u03b9\\u03b4\\u03b9\\u03ba\\u03ae \\u03ac\\u03b4\\u03b5\\u03b9\\u03b1 - \\u03b5\\u03c0\\u03b5\\u03af\\u03b3\\u03bf\\u03c5\\u03c3\\u03b5\\u03c2 \\u03c3\\u03c5\\u03bd\\u03b8\\u03ae\\u03ba\\u03b5\\u03c2\",\"\\u0391\\u03b2\\u03ac\\u03c3\\u03b9\\u03bc\\u03b7 - \\u039c\\u039f\\u039d\\u0399\\u039c\\u039f\\u0399 \\u039a\\u0391\\u03a4\\u039f\\u0399\\u039a\\u039f\\u0399 \\u03a1-70\",\"\\u0395\\u03bb\\u03bb\\u03b9\\u03c0\\u03ae \\u03c3\\u03c4\\u03bf\\u03b9\\u03c7\\u03b5\\u03af\\u03b1\",\"\\u0399\\u03b1\\u03c4\\u03c1\\u03b9\\u03ba\\u03bf\\u03af \\u03bb\\u03cc\\u03b3\\u03bf\\u03b9\",\"\\u0388\\u03bb\\u03bb\\u03b5\\u03b9\\u03c8\\u03b7 \\u03c3\\u03ae\\u03bc\\u03b1\\u03bd\\u03c3\\u03b7\\u03c2\"],\r\n                            datasets: [{\r\n                                label: 'Decisions',\r\n                                data: [\"5618\",\"5569\",\"4016\",\"2079\",\"1181\",\"1137\",\"1102\",\"881\",\"846\",\"705\"],\r\n                                backgroundColor: [\"#2ecc71\",\"#2ecc71\",\"#2ecc71\",\"#2ecc71\",\"#2ecc71\",\"#2ecc71\",\"#2ecc71\",\"#2ecc71\",\"#2ecc71\",\"#2ecc71\"]                            }]\r\n                        },\r\n                        options: {\r\n                            indexAxis: 'y', \/\/ Horizontal Bar\r\n                            maintainAspectRatio: false,\r\n                            scales: {\r\n                                x: { beginAtZero: true }\r\n                            },\r\n                            plugins: {\r\n                                legend: { display: false } \/\/ Hides legend since colors explain meaning (or we can add custom legend)\r\n                            }\r\n                        }\r\n                    });\r\n                }\r\n\r\n                \/\/ Monthly Chart\r\n                var ctxMonthly = document.getElementById('monthlyChart');\r\n                if (ctxMonthly) {\r\n                    new Chart(ctxMonthly, {\r\n                        type: 'bar',\r\n                        data: {\r\n                            labels: [\"2025-05 (May)\",\"2025-06 (Jun)\",\"2025-07 (Jul)\",\"2025-08 (Aug)\",\"2025-09 (Sep)\",\"2025-10 (Oct)\",\"2025-11 (Nov)\",\"2025-12 (Dec)\",\"2026-01 (Jan)\",\"2026-02 (Feb)\"],\r\n                            datasets: [{\r\n                                label: 'Objections',\r\n                                data: [\"258\",\"187\",\"170\",\"87\",\"253\",\"263\",\"318\",\"183\",\"290\",\"152\"],\r\n                                backgroundColor: '#2271b1'\r\n                            }]\r\n                        },\r\n                        options: {\r\n                            maintainAspectRatio: false,\r\n                            scales: { y: { beginAtZero: true } }\r\n                        }\r\n                    });\r\n                }\r\n\r\n                \/\/ Type Chart\r\n                var ctxType = document.getElementById('typeChart');\r\n                if (ctxType) {\r\n                    new Chart(ctxType, {\r\n                        type: 'doughnut',\r\n                        data: {\r\n                            labels: ['K.O.K.', 'Other'],\r\n                            datasets: [{\r\n                                data: [31904, 1032],\r\n                                backgroundColor: ['#3f51b5', '#ff9800']\r\n                            }]\r\n                        },\r\n                        options: { maintainAspectRatio: false }\r\n                    });\r\n                }\r\n            });\r\n        <\/script>\r\n        <\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-58","page","type-page","status-publish","hentry"],"blocksy_meta":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/node.thessaloniki.gr\/objections\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":null,"_links":{"self":[{"href":"https:\/\/node.thessaloniki.gr\/objections\/wp-json\/wp\/v2\/pages\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/node.thessaloniki.gr\/objections\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/node.thessaloniki.gr\/objections\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/node.thessaloniki.gr\/objections\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/node.thessaloniki.gr\/objections\/wp-json\/wp\/v2\/comments?post=58"}],"version-history":[{"count":4,"href":"https:\/\/node.thessaloniki.gr\/objections\/wp-json\/wp\/v2\/pages\/58\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/node.thessaloniki.gr\/objections\/wp-json\/wp\/v2\/pages\/58\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/node.thessaloniki.gr\/objections\/wp-json\/wp\/v2\/media?parent=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}