MMCT TEAM
Server IP : 103.191.208.50  /  Your IP : 216.73.216.53
Web Server : LiteSpeed
System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : celkcksm ( 1031)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, popen, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/celkcksm/hrms.ncriptech.com/public/frontend/js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/hrms.ncriptech.com/public/frontend/js/dashboard.js
"use strict";



let optionsForLineChart = {
    series: [{
        name: 'Attained',
        data: [1, 4, 3, 6, 6, 7, 8, 9, 10]
    },
        {
            name: "Break",
            data: [10, 20, 44, 6, 49, 68, 69, 91, 148]
        },
    ],
    chart: {
        height: 350,
        type: 'line',
        zoom: {
            enabled: false
        },
    },
    dataLabels: {
        enabled: false
    },
    stroke: {
        curve: 'straight'
    },
    grid: {
        row: {
            colors: ['#f3f3f3', 'transparent'], // takes an array which will be repeated on columns
            opacity: 0.5
        },
    },
    xaxis: {
        categories: [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
        ],
    },
    fill: {
        opacity: 1
    },
    tooltip: {
        y: {
            formatter: function (val) {
                return val + " days"
            }
        }
    }
};


//

var lineChart = new ApexCharts(document.querySelector("#employeeActivityChart1"), optionsForLineChart);
lineChart.render();

var optionsforPieChart = {
    series: [7, 5, 2],
    chart: {
        width: 380,
        type: 'pie',
    },
    labels: ['Attained', 'Leave', 'Early Leave'],
    legend: {
        position: 'bottom',
    }
};

let chartPieChart = new ApexCharts(document.querySelector("#employeeActivityChart2"), optionsforPieChart);
chartPieChart.render();

MMCT - 2023