%PDF- %PDF-
Direktori : /proc/self/root/var/www/projetos/suporte.iigd.com.br/files/_cache/core/ |
Current File : //proc/self/root/var/www/projetos/suporte.iigd.com.br/files/_cache/core/a2ad600f4941 |
1673038307 b20df942a3b0e4bbc54a0cedb4778b21848e4108 a:1:{s:54:"top_ticket_Entity_a8e65812-519c-488e-9892-9adbe22fbd5c";s:8864:" <style> #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 { background-color: #f7f1f0; color: #b0756b } .theme-dark #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 { background-color: #341f1b; color: #b0756b; } #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-label { fill: #b0756b; color: #b0756b; } .theme-dark #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-label { fill: #b0756b; color: #b0756b; } .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 { /*! * --------------------------------------------------------------------- * * GLPI - Gestionnaire Libre de Parc Informatique * * http://glpi-project.org * * @copyright 2015-2022 Teclib' and contributors. * @copyright 2003-2014 by the INDEPNET Development Team. * @licence https://www.gnu.org/licenses/gpl-3.0.html * * --------------------------------------------------------------------- * * LICENSE * * This file is part of GLPI. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * * --------------------------------------------------------------------- */ } .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-point, .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-line, .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-bar, .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-slice-donut { stroke: #b0756b; } .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-bar + .ct-barlabel { fill: setcolor(#b0756b); } .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-circle { fill: #b0756b; } .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-circle + .ct-label { fill: #b0756b; } .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-slice-pie, .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-area, .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-a .ct-slice-donut-solid { fill: #b0756b; stroke: setcolor(#b0756b); } .dashboard #chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series-0:before { background-color: #b0756b; border-color: #b0756b; } </style> <div> <div class="card g-chart pie donut filter-dates filter-dates_mod filter-itilcategory filter-group_tech filter-user_tech filter-requesttype filter-location" id="chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375"> <div class="chart ct-chart"></div> <span class="main-label">Top chamados por entidades</span> <i class="main-icon ti ti-stack"></i> </div> </div><script type="text/javascript"> //<![CDATA[ $(function () { var chart = new Chartist.Pie('#chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .chart', { labels: ["Igreja Internacional da Gra\u00e7a de Deus"], series: [{"meta":"Igreja Internacional da Gra\u00e7a de Deus","value":21539,"url":"\/front\/ticket.php?reset&criteria%5B0%5D%5Bfield%5D=80&criteria%5B0%5D%5Bsearchtype%5D=equals&criteria%5B0%5D%5Bvalue%5D=0&reset=reset"}], }, { width: 'calc(100% - 5px)', chartPadding: 4, donut: true, donutSolid: true, showLabel: true, labelInterpolationFnc: function(value) { return '21.5K'; }, donutWidth: '50%', plugins: [ Chartist.plugins.tooltip({ appendToBody: true, class: 'dashboard-tooltip' }) ] }); chart.on('draw', function(data) { // animate if (data.type === 'slice') { // set url redirecting on slice var url = _.get(data, 'series.url') || ""; if (url.length > 0) { data.element.attr({ 'data-clickable': true }); data.element._node.onclick = function() { if (!Dashboard.edit_mode) { window.location = url; } } } // Get the total path length in order to use for dash array animation var pathLength = data.element._node.getTotalLength(); // Set a dasharray that matches the path length as prerequisite to animate dashoffset data.element.attr({ 'stroke-dasharray': pathLength + 'px ' + pathLength + 'px' }); // Create animation definition while also assigning an ID to the animation for later sync usage var animationDefinition = { 'stroke-dashoffset': { id: 'anim' + data.index, dur: 1000, from: -pathLength + 'px', to: '0px', easing: Chartist.Svg.Easing.easeOutQuint, // We need to use `fill: 'freeze'` otherwise our animation will fall back to initial (not visible) fill: 'freeze' } }; // We need to set an initial value before the animation starts as we are not in guided mode which would do that for us data.element.attr({ 'stroke-dashoffset': -pathLength + 'px' }); // We can't use guided mode as the animations need to rely on setting begin manually // See http://gionkunz.github.io/chartist-js/api-documentation.html#chartistsvg-function-animate data.element.animate(animationDefinition, false); } // donut center label if (data.type === 'label') { if (data.index === 0) { var width = data.element.root().width() / 2; var height = data.element.root().height() / 2; var fontsize = ((height / 1) / (1.3 * "21.5K".length)); data.element.attr({ dx: width, dy: height - (4 / 2), 'style': 'font-size: '+fontsize, }); // apend real total var text = new Chartist.Svg('title'); text.text("21539"); data.element.append(text); } else { data.element.remove(); } } // fade others bars on one mouseouver chart.on('created', function(bar) { $('#chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-series') .mouseover(function() { $(this).parent().children().addClass('disable-animation'); $(this).addClass('mouseover'); $(this).siblings() .addClass('notmouseover'); $('#chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-label') .addClass('fade'); }) .mouseout(function() { $(this).removeClass('mouseover'); $(this).siblings() .removeClass('notmouseover'); $('#chart-dashboard_card_assistance_b153ead0cde258d7b9dcd6f62b0d9ccbe6d25375 .ct-label') .removeClass('fade'); }); }); }); }); //]]> </script>";}