📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
adisyonscripti.demodesign.com.tr
/
admin
/
assets
/
js
/
dashboard
📝
dashboard-1.js
← Geri Dön
(function($) { /* "use strict" */ var dzChartlist = function(){ var screenWidth = $(window).width(); var activityBar = function(){ var activity = document.getElementById("activity"); if (activity !== null) { var activityData = [{ first: [35, 18, 15, 35, 40, 20, 30, 25, 22, 20, 45, 35, 35, 18, 15, 35, 40, 20, 30, 25, 22, 20, 45, 35, 30, 25, 22, 20, 45, 35] }, { first: [50, 35, 10, 45, 40, 50, 60, 35, 10, 50, 34, 35, 50, 35, 10, 45, 40, 50, 60, 35, 10, 50, 34, 35, 60, 35, 10, 50, 34, 35] }, { first: [20, 35, 60, 45, 40, 35, 30, 35, 10, 40, 60, 20, 20, 35, 60, 45, 40, 55, 30, 35, 10, 33, 60, 20, 30, 35, 55, 33, 60, 20] }, { first: [25, 88, 25, 50, 21, 42, 60, 33, 50, 60, 50, 20, 25, 55, 25, 50, 18, 25, 22, 15, 50, 60, 50, 25, 60, 45, 50, 60, 50, 20] } ]; activity.height = 170; var config = { type: "bar", data: { labels: [ "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30" ], datasets: [ { label: "My First dataset", data: [35, 18, 15, 35, 40, 20, 30, 25, 22, 20, 45, 35, 35, 18, 15, 35, 40, 20, 30, 25, 22, 20, 45, 35, 30, 25, 22, 20, 45, 35], borderColor: 'rgba(47, 76, 221, 1)', borderWidth: "0", barThickness:'flex', backgroundColor: 'rgba(47, 76, 221, 1)', minBarLength:10 } ] }, options: { responsive: true, maintainAspectRatio: false, legend: { display: false }, scales: { yAxes: [{ gridLines: { color: "rgba(233,236,255,1)", drawBorder: true }, ticks: { fontColor: "#3e4954", max: 60, min: 0, stepSize: 20 }, }], xAxes: [{ barPercentage: 0.3, gridLines: { display: false, zeroLineColor: "transparent" }, ticks: { stepSize: 20, fontColor: "#3e4954", fontFamily: "Nunito, sans-serif" } }] }, tooltips: { mode: "index", intersect: false, titleFontColor: "#888", bodyFontColor: "#555", titleFontSize: 12, bodyFontSize: 15, backgroundColor: "rgba(255,255,255,1)", displayColors: true, xPadding: 10, yPadding: 7, borderColor: "rgba(220, 220, 220, 1)", borderWidth: 1, caretSize: 6, caretPadding: 10 } } }; var ctx = document.getElementById("activity").getContext("2d"); var myLine = new Chart(ctx, config); var items = document.querySelectorAll("#user-activity .nav-tabs .nav-item"); items.forEach(function(item, index) { item.addEventListener("click", function() { config.data.datasets[0].data = activityData[index].first; myLine.update(); }); }); } } var donutChart = function(){ $("span.donut").peity("donut", { width: "140", height: "140", stroke: "#4d89f9", strokeWidth: "10", }); } var counterBar = function(){ $(".counter").counterUp({ delay: 30, time: 3000 }); } /* Function ============ */ return { init:function(){ }, load:function(){ activityBar(); donutChart(); chartBar(); counterBar(); }, resize:function(){ } } }(); jQuery(document).ready(function(){ }); jQuery(window).on('load',function(){ setTimeout(function(){ dzChartlist.load(); }, 1000); }); jQuery(window).on('resize',function(){ }); })(jQuery);
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula