HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/sigedo-demo.allup.com.co/public/assets/js/es5/dashboard.v2.script.js
'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

$(document).ready(function () {

    $('#user_table').DataTable();
    $('#sales_table').DataTable();

    // Chart in Dashboard version 2
    var echartElem4 = document.getElementById('echart4');
    if (echartElem4) {
        var echart4 = echarts.init(echartElem4);
        echart4.setOption(_extends({}, echartOptions.lineNoAxis, {
            series: [{
                data: [40, 80, 20, 90, 30, 80, 40],
                lineStyle: {
                    color: 'rgba(102, 51, 153, .86)',
                    width: 3,
                    shadowColor: 'rgba(0, 0, 0, .2)',
                    shadowOffsetX: -1,
                    shadowOffsetY: 8,
                    shadowBlur: 10
                },
                label: { show: true, color: '#212121' },
                type: 'line',
                smooth: true,
                itemStyle: {
                    borderColor: 'rgba(69, 86, 172, 0.86)'
                }
            }]
        }, {
            xAxis: { data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }
        }));
        $(window).on('resize', function () {
            setTimeout(function () {
                echart4.resize();
            }, 500);
        });
    }
    // Chart in Dashboard version 2
    var echartElem5 = document.getElementById('echart5');
    if (echartElem5) {
        var echart5 = echarts.init(echartElem5);
        echart5.setOption(_extends({}, echartOptions.defaultOptions, {
            legend: {
                show: true,
                bottom: 0
            },
            series: [_extends({
                type: 'pie'
            }, echartOptions.pieRing, {

                label: echartOptions.pieLabelCenterHover,
                data: [{
                    name: 'Completed',
                    value: 80,
                    itemStyle: {
                        color: '#663399'
                    }
                }, {
                    name: 'Pending',
                    value: 20,
                    itemStyle: {
                        color: '#ced4da'
                    }
                }]
            })]
        }));
        $(window).on('resize', function () {
            setTimeout(function () {
                echart5.resize();
            }, 500);
        });
    }
});