ok
Direktori : /proc/thread-self/root/home2/selectio/public_html/y1jobportal.in/admin/ |
Current File : //proc/thread-self/root/home2/selectio/public_html/y1jobportal.in/admin/home-1.php |
<?php include('header.php'); ?> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap.min.css"> <style> @media (min-width: 1200px){ .row-cols-xl-2>* { flex: 0 0 auto; width: 33%; } } #alert-info{ background-color: #f8e5e5; } #note{ font-size: 14px; color: red; } #kyc{ font-size: 14px; } @media (min-width: 1200px){ #buttonstyle { margin-left: 13%; color:white; font-size: 14px; } } @media (min-width: 768px){ #buttonstyle { margin-left: 13%; color:white; font-size: 14px; } } .wrapper .search { border: 1px solid #c8c8c8; overflow: hidden; border-radius: 25px; padding: 0 10px; margin: 15px 0 20px; transition: all 0.3s } .wrapper .search:hover, .wrapper .search:focus-within { border: 1px solid transparent; box-shadow: 2px 5px 8px #1f1f1f10, 0px -4px 5px #1f1f1f10 } .wrapper .search .form-control { box-shadow: none; outline: none; border: none } .wrapper .search .form-control:focus::placeholder { opacity: 0 } .wrapper .accordion-button { font-size: 0.9rem; font-weight: 500 } .wrapper .accordion-button:hover { background-color: #f8f8f8 } .wrapper .accordion-button:focus { box-shadow: none } .wrapper .accordion-button::after { background-size: 1rem; display: flex; align-items: center; justify-content: center; border: 1px solid #c8c8c8; background-position: center center; border-radius: 50% } .wrapper .accordion-button:not(.collapsed) { color: #000; background-color: #f7f7f7; font-weight: 600; border-bottom: 1px solid #ddd !important } .accordion-button:not(.collapsed)::after { border-color: #1E88E5 } .wrapper .accordion-button.collapsed { border-bottom: 1px solid #ddd !important } .wrapper .accordion-collapse.show { border-bottom: 1px solid #ddd !important } .wrapper .accordion-collapse { background-color: #eaf3fa } .wrapper .accordion-collapse ul li { line-height: 2rem; width: 100%; padding: 0.5rem 1.3rem } .wrapper .accordion-collapse ul li:hover { background-color: #c9e7ff } .wrapper .accordion-collapse ul li a { text-decoration: none; color: #333; font-size: 0.85rem; font-weight: 400; display: block } .wrapper .accordion-collapse ul li:hover a { color: #222 } @media (max-width: 777px) { .wrapper { margin: 50px 20px } } @media (max-width: 365px) { .wrapper { margin: 50px 10px } .w-75 { width: 90% !important } } .widgets-icons-4 { width: 138px; height: 138px; display: flex; align-items: center; justify-content: center; background-color: #ededed; font-size: 27px; border-radius: 10px; } .text-secondary1{ font-size: 22px; font-family: emoji; font-weight: bolder; color: black !important; } .font-12 { font-size: 12px; } </style> <style> .form-inline { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row wrap; flex-flow: row wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .mb-sm-0, .my-sm-0 { margin-bottom: 0!important; } .btn-outline-primary { color: #007bff; background-color: transparent; background-image: none; border-color: #007bff; } .horizontalMenucontainer .main-header { border-bottom: 1px solid #dce7f5; } .main-header-left { display: flex; align-items: center; } .form-inline .form-control { display: inline-block; width: auto; vertical-align: middle; } .mr-sm-2, .mx-sm-2 { margin-right: .5rem!important; } .tx-16 { font-size: 16px; } .bg-primary-gradient { background-color: #845aec !important; } .card { border-radius: 7px; box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px; } .bg-danger-gradient { background-color: #657fe4 !important; } .navbar-nav { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; padding-left: 0; margin-bottom: 0; list-style: none; } .main-header { margin-bottom: 20px; border-bottom: 1px solid #dee4ec; box-shadow: 5px 7px 26px -5px #cdd4e7; } .horizontalMenucontainer .layout-pin.side-header.sticky-pin { position: fixed!important; } .bg-success-gradient { background-color: #4a9bed !important; } .bg-warning-gradient { background-color: #1fc3d4 !important; } .bg-purple-gradient { background-color: #75daa3 !important; } .bgorange { background-color: #f5be39 !important; } .bg-danger-gradient { background-color: #657fe4 !important; } .counter-icon { position:relative; } .counter-icon { margin-bottom: 0; display: inline-flex; width: 4rem; height: 4rem; padding: 0.5rem; /* overflow: hidden; */ border-radius: 50%; text-align: center; background: rgb(255 255 255); line-height: 42px; position: relative; } #zoomBtn { background-color: white; border-radius: 50%; padding: 4px; margin-top: -13px; width: 30px; height: 30px; box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset; border: 1px solid #ffffff; } #mapcontainer, #barChartContainer, #lineChartContainer, #pieChartContainer, #tableContainer { transition: opacity 0.5s ease; } .sidebar-open { box-shadow: rgb(59 91 124) -4px -2px 60px 0px !important; } .sidebar-open { -webkit-animation: bounce-in-right 1.1s both; animation: bounce-in-right 1.1s both; } /** * ---------------------------------------- * animation bounce-in-right * ---------------------------------------- */ @-webkit-keyframes bounce-in-right { 0% { -webkit-transform: translateX(600px); transform: translateX(600px); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; opacity: 0; } 38% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; opacity: 1; } 55% { -webkit-transform: translateX(68px); transform: translateX(68px); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 72% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 81% { -webkit-transform: translateX(32px); transform: translateX(32px); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 90% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 95% { -webkit-transform: translateX(8px); transform: translateX(8px); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 100% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } } @keyframes bounce-in-right { 0% { -webkit-transform: translateX(600px); transform: translateX(600px); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; opacity: 0; } 38% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; opacity: 1; } 55% { -webkit-transform: translateX(68px); transform: translateX(68px); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 72% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 81% { -webkit-transform: translateX(32px); transform: translateX(32px); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 90% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 95% { -webkit-transform: translateX(8px); transform: translateX(8px); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 100% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } } .main-dashboard-header-right { display: none; } [pointer-events="bounding-box"] { display: none; } svg .raphael-group-5-background rect { stroke: white; } svg .raphael-group-4-background rect { stroke-width: 0; } /* Add this CSS to your stylesheet */ .district { transition: transform 0.3s; /* Add a smooth transition effect */ } .district:hover { transform: scale(1.1); /* Scale up the district on hover */ } .district { transition: transform 0.3s; } .district:hover { transform: scale(1.1); z-index: 1; /* Ensures the hovered district is on top */ } .main-dashboard-header-right .rdiobox span:before { top: auto; left: 10px; } .main-dashboard-header-right .rdiobox span { color: white; } .btn-icon { width: 36px; height: 36px; } .main-dashboard-header-right .rdiobox span:after { top: 13px; left: 14px; width: 8px; height: 8px; } .boxDsh .card-body input[type="radio"]:checked, [type="radio"]:not(:checked) { position: absolute; left: -9999px; } .boxDsh .card-body input[type="radio"]:checked + label, .boxDsh .card-body input[type="radio"]:not(:checked) + label { position: absolute; padding-left: 28px; cursor: pointer; line-height: 20px; display: inline-block; color: #666; left: 6px; top: 6px; } .tablenew tr th, .tablenew tr td { padding: 7px !important; } .boxDsh .card-body input[type="radio"]:checked + label:before, .boxDsh .card-body input[type="radio"]:not(:checked) + label:before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border: 1px solid #ddd; border-radius: 100%; background: #fff; box-shadow: inset 0 7px 10px #7a7cff; } .boxDsh .card-body input[type="radio"]:checked + label:after, .boxDsh .card-body input[type="radio"]:not(:checked) + label:after { content: ""; width: 10px; height: 10px; background: #025fdb; position: absolute; top: 4px; left: 4px; border-radius: 100%; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; } .boxDsh .card-body input[type="radio"]:not(:checked) + label:after { opacity: 0; -webkit-transform: scale(0); transform: scale(0); } .boxDsh .card-body input[type="radio"]:checked + label:after { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } /*************************/ .boxDsh .card:hover .checkbox-input { clip: auto !important; -webkit-clip-path: fill-box; clip-path: none; } .checkbox-input:checked + .checkbox-tile .checkbox-icon, .checkbox-input:checked + .checkbox-tile .checkbox-label { color: #2260ff; } .checkbox-input:focus + .checkbox-tile { border-color: #2260ff; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc; } .fs-12 { font-size: 13px; } .card-dashboard-map-one { padding: 4px; } .tablecustom td, .table-bordered th { padding: 3px; } .checkbox-input:checked + .checkbox-tile:before { transform: scale(1); opacity: 1; background-color: #7016d0; border-color: #7016d0; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; z-index: 999; position: absolute; left: 4px; top: 4px; display: block; background-color: white; height: 20px; width: 20px; cursor: pointer; } .card-price { background-color: rgb(0 0 0 / 6%); float: left; width: 100%; padding: 7px 0px; border-top: 1px solid rgb(255 255 255 / 21%); } .counter-icon::after { content: ""; position: absolute; width: 72px; height: 72px; border: 2px dotted white; border-radius: 50%; margin: auto; text-align: center; right: -4px; top: -4px; z-index: 1; } .boxDsh .card-body { padding-bottom: 5px; } .jsplgrad { background-color: #f5713d !important; } .card { border-radius: 7px; box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px; } .boxDsh .col:hover .card { /* -webkit-animation: scale-up-ver-top 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; animation: scale-up-ver-top 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;*/ } .boxDsh .col:hover .card .counter-icon::after { -webkit-animation: rotate-center 8s linear infinite forwards; animation: rotate-center 8s linear infinite forwards; } /** * ---------------------------------------- * animation scale-up-ver-top * ---------------------------------------- */ @-webkit-keyframes scale-up-ver-top { 0% { -webkit-transform: scaleY(0.4); transform: scaleY(0.4); -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; } 100% { -webkit-transform: scaleY(1); transform: scaleY(1); -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; } } @keyframes scale-up-ver-top { 0% { -webkit-transform: scaleY(0.4); transform: scaleY(0.4); -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; } 100% { -webkit-transform: scaleY(1); transform: scaleY(1); -webkit-transform-origin: 100% 0%; transform-origin: 100% 0%; } } /** * ---------------------------------------- * animation rotate-center * ---------------------------------------- */ @-webkit-keyframes rotate-center { 0% { -webkit-transform: rotate(0); transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate-center { 0% { -webkit-transform: rotate(0); transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .sortable-list { max-width: 100%; display: block; } .sortable-item { color: rgba(0, 0, 0, 0.87); flex-direction: row; align-items: center; justify-content: space-between; user-select: none; } #sortable-horizontal .sortable-item { width: 100%; border-bottom: none; } #sortable-grid { border: none; padding: 0; margin: 0; } #sortable-grid .sortable-item { text-align: center; } #sortable-condition-1, #sortable-condition-2 { max-width: 100%; display: block; } /*****************/ .tooltip { position: absolute; backdrop-filter: saturate(180%) blur(20px); top: 0; font-size: 14px; background: rgb(255 255 255 / 65%); color: #ffffff; padding: 5px 8px; border-radius: 5px; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1); opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .tooltip::before { position: absolute; content: ""; height: 8px; width: 8px; background: rgb(255 255 255 / 31%); bottom: -3px; left: 50%; transform: translate(-50%) rotate(45deg); transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .boxDsh .card:hover .tooltip { top: 94px; left: 5px; opacity: 1; visibility: visible; pointer-events: auto; color: #0267e8; } .totalBnf { background-color: rgb(255 255 255 / 19%); padding: 6px 8px; width: 90%; margin: auto; text-align: center; display: block; border-radius: 10px; color: white; border: 1px solid rgb(0 0 0 / 16%); font-size: 12px; margin: 4px auto; } .boxDsh .card { transition: opacity 0.2s; opacity: 1; } .boxDsh .card:not(.highlight) { opacity: 1; } .boxDsh h4.counter { font-size: 16px; } .boxDsh .highlighted { transform: scale(1.1); box-shadow: rgb(69 69 255 / 48%) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px; border: none; transition: 0.2s; } .zoomDV { overflow-x: hidden; overflow-y: auto; z-index: 1072; position: fixed; top: 0; right: 0; bottom: 0; left: 0; transition: opacity 0.15s linear; background-color: rgb(0 0 0 / 49%); max-width: 100%; backdrop-filter: saturate(180%) blur(10px); } .zoomDV .card { -webkit-transform: translate(0, 0); transform: translate(0, 0); max-width: 55%; margin: 1.75rem auto; position: relative; width: auto; } </style> <div class="page-wrapper"> <div class="page-content"> <!-- optional --> <div class="row boxDsh"> <div class="col-md-2"> <div class="card jsplgrad" id="card1"> <div class="card-body"> <div class="counter-status md-mb-0 text-center"> <input type="radio" id="radioJSLPS" name="radio-group"> <label for="radioJSLPS"></label> <div class="counter-icon"> <i class="icon icon-people"> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jharkhand_Rajakiya_Chihna.svg/48px-Jharkhand_Rajakiya_Chihna.svg.png" /> </i> </div> <div class="ml-auto text-center"> <h4 class="tx-16 mt-3 mb-0 text-center text-white">Total Beneficiary</h4> </div> </div> </div> <div class="ml-auto text-center card-price py-4"> <h4 class="counter mb-0 text-white">21,361</h4> </div> </div> </div> <div class="col"> <div class="card bg-primary-gradient" id="card2"> <div class="card-body"> <div class="counter-status md-mb-0 text-center"> <input type="radio" id="radio1" name="radio-group"> <label for="radio1"></label> <div class="counter-icon"> <i class="icon icon-people"> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jharkhand_Rajakiya_Chihna.svg/48px-Jharkhand_Rajakiya_Chihna.svg.png" /> </i> </div> <div class="ml-auto text-center"> <h4 class="tx-16 mt-2 mb-0 text-center text-white">NRLM</h4> </div> </div> </div> <div class="ml-auto text-center card-price"> <span class="totalBnf">Total Beneficiary</span> <h4 class="counter mb-0 text-white">21,000</h4> </div> </div> </div> <div class="col"> <div class="card bg-danger-gradient" id="card3"> <div class="card-body"> <input type="radio" id="radio2" name="radio-group"> <label for="radio2"></label> <div class="counter-status md-mb-0 text-center"> <div class="counter-icon text-warning"> <i class="icon icon-rocket"> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jharkhand_Rajakiya_Chihna.svg/48px-Jharkhand_Rajakiya_Chihna.svg.png" /> </i> </div> <div class="ml-auto text-center"> <h5 class="tx-16 mt-2 mb-0 text-center text-white">MKSP</h5> </div> </div> </div> <div class="ml-auto text-center card-price"> <span class="totalBnf">Total Beneficiary</span> <h4 class="counter mb-0 text-white">5,469</h4> </div> </div> </div> <div class="col"> <div class="card bg-success-gradient" id="card4"> <div class="card-body"> <input type="radio" id="radio3" name="radio-group"> <label for="radio3"></label> <div class="counter-status md-mb-0 text-center"> <div class="counter-icon text-primary"> <i class="icon icon-docs"> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jharkhand_Rajakiya_Chihna.svg/48px-Jharkhand_Rajakiya_Chihna.svg.png" /> </i> </div> <div class="ml-auto text-right"> <h5 class="tx-16 mt-2 mb-0 text-center text-white">JICA</h5> </div> </div> </div> <div class="ml-auto text-center card-price"> <span class="totalBnf">Total Beneficiary</span> <h4 class="counter mb-0 text-white">1,869</h4> </div> </div> </div> <div class="col"> <div class="card bg-warning-gradient" id="card5"> <div class="card-body"> <input type="radio" id="radio4" name="radio-group"> <label for="radio4"></label> <div class="counter-status md-mb-0 text-center"> <div class="counter-icon text-success"> <i class="icon icon-emotsmile"> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jharkhand_Rajakiya_Chihna.svg/48px-Jharkhand_Rajakiya_Chihna.svg.png" /> </i> </div> <div class="ml-auto text-center"> <h5 class="tx-16 mt-2 mb-0 text-center text-white">JOHAR</h5> </div> </div> </div> <div class="ml-auto text-center card-price"> <span class="totalBnf">Total Beneficiary</span> <h4 class="counter mb-0 text-white">1,549</h4> </div> </div> </div> <div class="col"> <div class="card bg-purple-gradient" id="card6"> <div class="card-body"> <input type="radio" id="radio5" name="radio-group"> <label for="radio5"></label> <div class="counter-status md-mb-0 text-center"> <div class="counter-icon"> <i class="icon icon-people"> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jharkhand_Rajakiya_Chihna.svg/48px-Jharkhand_Rajakiya_Chihna.svg.png" /> </i> </div> <div class="ml-auto text-right"> <h5 class="tx-16 mt-2 mb-0 text-center text-white">Didi Badi</h5> </div> </div> </div> <div class="ml-auto text-center card-price"> <span class="totalBnf">Total Beneficiary</span> <h4 class="counter mb-0 text-white">1,879</h4> </div> </div> </div> <div class="col"> <div class="card bgorange" id="card7"> <div class="card-body"> <input type="radio" id="radio6" name="radio-group"> <label for="radio6"></label> <div class="counter-status md-mb-0 text-center"> <div class="counter-icon text-warning"> <i class="icon icon-rocket"> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jharkhand_Rajakiya_Chihna.svg/48px-Jharkhand_Rajakiya_Chihna.svg.png" /> </i> </div> <div class="ml-auto text-right"> <h5 class="tx-16 mt-2 mb-0 text-center text-white">PJAA</h5> </div> </div> </div> <div class="ml-auto text-center card-price"> <span class="totalBnf">Total Beneficiary</span> <h4 class="counter mb-0 text-white">7,577</h4> </div> </div> </div> <div class="col"> <div class="card bg-danger-gradient" id="card8"> <div class="card-body"> <input type="radio" id="radio7" name="radio-group"> <label for="radio7"></label> <div class="counter-status md-mb-0 text-center"> <div class="counter-icon text-primary"> <i class="icon icon-docs"> <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Jharkhand_Rajakiya_Chihna.svg/48px-Jharkhand_Rajakiya_Chihna.svg.png" /> </i> </div> <div class="ml-auto text-center"> <h5 class="tx-16 mt-2 mb-0 text-center text-white">Umang</h5> </div> </div> </div> <div class="ml-auto text-center card-price"> <span class="totalBnf">Total Beneficiary</span> <h4 class="counter mb-0 text-white">2,449</h4> </div> </div> </div> </div> <!-- optional --> <?php if($_SESSION['y1_jobs']['id'] && $_SESSION['y1_jobs_1']==2){ include 'ui-pages/client-home-data.php'; }else{ include 'ui-pages/admin-home-data.php'; } ?> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> // Add an event listener to each radio button const radioButtons = document.querySelectorAll('input[name="radio-group"]'); const cards = document.querySelectorAll('.card'); const boxDsh = document.querySelector('.boxDsh'); radioButtons.forEach(radioButton => { radioButton.addEventListener('change', function () { // Set opacity for all cards cards.forEach(card => { card.style.opacity = '0.5'; card.classList.remove('highlighted'); // Remove highlighted class from all cards }); // Set opacity to 1 for the selected card and add highlighted class const selectedCard = document.querySelector(`[for="${this.id}"]`).closest('.card'); if (selectedCard) { selectedCard.style.opacity = '1'; selectedCard.classList.add('highlighted'); } // Add opDIV class to boxDsh boxDsh.classList.add('opDIV'); }); }); /**************apex*******/ var options = { chart: { width: "100%", height: 380, type: "bar", }, plotOptions: { bar: { horizontal: true, }, }, dataLabels: { enabled: false, }, stroke: { width: 0, colors: ["#fff"], }, series: [ { data: [44, 55, 41, 64, 22, 43, 21], }, ], xaxis: { categories: [ "Korea", "Canada", "Poland", "Italy", "France", "Japan", "China", ], }, tooltip: { custom: function ({ series, seriesIndex, dataPointIndex, w }) { return ( '<div class="arrow_box">' + "<span>" + w.globals.labels[dataPointIndex] + ": " + series[seriesIndex][dataPointIndex] + "</span>" + "</div>" ); }, }, colors: ["#8c68cd", "#FFBD33", "#33FF49", "#33B3FF", "#B033FF", "#FF33F9", "#33FFF4"], // Specify custom bar colors here }; var chart = new ApexCharts(document.querySelector("#apex-chart"), options); chart.render(); var options = { chart: { height: 410, type: "radialBar" }, plotOptions: { circle: { dataLabels: { showOn: "hover" } } }, series: [44, 55, 67, 83], labels: ["Apples", "Oranges", "Bananas", "Berries"] }; var chart1 = new ApexCharts(document.querySelector("#chart"), options); chart1.render(); var stackedOptions = { chart: { type: 'bar', stacked: true, shadow: { enabled: true, blur: 1, opacity: 0.5 } }, plotOptions: { bar: { horizontal: true, barHeight: '62%', }, }, dataLabels: { enabled: false }, stroke: { width: 0, }, series: [ { name: 'Marine Sprite', data: [44, 55, 41, 37, 22, 43, 21] }, { name: 'Striking Calf', data: [53, 32, 33, 52, 13, 43, 32] }, { name: 'Tank Picture', data: [12, 17, 11, 9, 15, 11, 20] }, { name: 'Bucket Slope', data: [9, 7, 5, 8, 6, 9, 4] } ], title: { text: '' }, xaxis: { categories: [2008, 2009, 2010, 2011, 2012, 2013, 2014], }, yaxis: { title: { text: undefined }, }, tooltip: { shared: false, y: { formatter: function(val) { return val + "K" } } }, fill: { type: 'pattern', opacity: 1, pattern: { style: ['circles', 'slantedLines', 'verticalLines', 'horizontalLines'], } }, states: { hover: { filter: 'none' } }, legend: { position: 'right', show: false } } var stackedBarChart = new ApexCharts( document.querySelector("#stackedBarChart"), stackedOptions ); stackedBarChart.render(); /*********************/ var options = { series: [14, 23, 21, 17, 15, 10, 12, 17, 21], chart: { type: 'polarArea', }, stroke: { colors: ['#fff'] }, fill: { opacity: 0.8 }, responsive: [{ breakpoint: 480, options: { chart: { width: 200 }, legend: { position: 'bottom' } } }] }; var chart = new ApexCharts(document.querySelector("#chart4"), options); chart.render(); /*********************/ var options = { series: [ { name: "High - 2013", data: [28, 29, 33, 36, 32, 32, 33] }, { name: "Low - 2013", data: [12, 11, 14, 18, 17, 13, 13] } ], chart: { height: 350, type: 'line', dropShadow: { enabled: true, color: '#000', top: 18, left: 7, blur: 10, opacity: 0.2 }, toolbar: { show: false } }, colors: ['#77B6EA', '#545454'], dataLabels: { enabled: true, }, stroke: { curve: 'smooth' }, title: { text: 'Average High & Low Temperature', align: 'left' }, grid: { borderColor: '#e7e7e7', row: { colors: ['#f3f3f3', 'transparent'], // takes an array which will be repeated on columns opacity: 0.5 }, }, markers: { size: 1 }, xaxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], title: { text: 'Month' } }, yaxis: { title: { text: 'Temperature' }, min: 5, max: 40 }, legend: { position: 'top', horizontalAlign: 'right', floating: true, offsetY: -25, offsetX: -5 } }; var chart = new ApexCharts(document.querySelector("#chart5"), options); chart.render(); /***********************/ var options = { series: [{ name: 'PRODUCT A', data: [44, 55, 41, 67, 22, 43] }, { name: 'PRODUCT B', data: [13, 23, 20, 8, 13, 27] }, { name: 'PRODUCT C', data: [11, 17, 15, 15, 21, 14] }, { name: 'PRODUCT D', data: [21, 7, 25, 13, 22, 8] }], chart: { type: 'bar', height: 350, stacked: true, toolbar: { show: true }, zoom: { enabled: true } }, responsive: [{ breakpoint: 480, options: { legend: { position: 'bottom', offsetX: -10, offsetY: 0 } } }], plotOptions: { bar: { horizontal: false, borderRadius: 10, dataLabels: { total: { enabled: true, style: { fontSize: '13px', fontWeight: 900 } } } }, }, xaxis: { type: 'datetime', categories: ['01/01/2011 GMT', '01/02/2011 GMT', '01/03/2011 GMT', '01/04/2011 GMT', '01/05/2011 GMT', '01/06/2011 GMT' ], }, legend: { position: 'right', offsetY: 40 }, fill: { opacity: 1 } }; var chart = new ApexCharts(document.querySelector("#chart6"), options); chart.render(); /**************************/ var options = { series: [ { name: "", data: [200, 330, 548, 740, 880, 990, 1100, 1380], }, ], chart: { type: 'bar', height: 350, }, plotOptions: { bar: { borderRadius: 0, horizontal: true, distributed: true, barHeight: '80%', isFunnel: true, }, }, colors: [ '#F44F5E', '#E55A89', '#D863B1', '#CA6CD8', '#B57BED', '#8D95EB', '#62ACEA', '#4BC3E6', ], dataLabels: { enabled: true, formatter: function (val, opt) { return opt.w.globals.labels[opt.dataPointIndex] }, dropShadow: { enabled: true, }, }, title: { text: 'Pyramid Chart', align: 'middle', }, xaxis: { categories: ['Sweets', 'Processed Foods', 'Healthy Fats', 'Meat', 'Beans & Legumes', 'Dairy', 'Fruits & Vegetables', 'Grains'], }, legend: { show: false, }, }; var chart = new ApexCharts(document.querySelector("#chart7"), options); chart.render(); /*******************/ var options = { series: [44, 55, 13, 43, 22], chart: { width: 380, type: 'pie', }, labels: ['Team A', 'Team B', 'Team C', 'Team D', 'Team E'], responsive: [{ breakpoint: 480, options: { chart: { width: 200 }, legend: { position: 'bottom' } } }] }; var chart = new ApexCharts(document.querySelector("#chart8"), options); chart.render(); /*******************/ var options = { series: [44, 55, 41, 17, 15], chart: { type: 'donut', }, responsive: [{ breakpoint: 480, options: { chart: { width: 200 }, legend: { position: 'bottom' } } }] }; var chart = new ApexCharts(document.querySelector("#chart9"), options); chart.render(); /****************/ var options = { series: [44, 55, 41, 17, 15], chart: { width: 380, type: 'donut', }, plotOptions: { pie: { startAngle: -90, endAngle: 270 } }, dataLabels: { enabled: false }, fill: { type: 'gradient', }, legend: { formatter: function(val, opts) { return val + " - " + opts.w.globals.series[opts.seriesIndex] } }, responsive: [{ breakpoint: 480, options: { chart: { width: 200 }, legend: { position: 'bottom' } } }] }; var chart = new ApexCharts(document.querySelector("#chart10"), options); chart.render(); /*********************/ var options = { series: [{ name: 'Series 1', data: [80, 50, 30, 40, 100, 20], }, { name: 'Series 2', data: [20, 30, 40, 80, 20, 80], }, { name: 'Series 3', data: [44, 76, 78, 13, 43, 10], }], chart: { height: 350, type: 'radar', dropShadow: { enabled: true, blur: 1, left: 1, top: 1 } }, stroke: { width: 2 }, fill: { opacity: 0.1 }, markers: { size: 0 }, xaxis: { categories: ['2011', '2012', '2013', '2014', '2015', '2016'] } }; var chart = new ApexCharts(document.querySelector("#chart11"), options); chart.render(); </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.2/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/apexcharts/3.42.0/apexcharts.min.js"></script> <?php include('footer.php'); ?>