|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/namascar_app/panel.namascar.app/public/js/ |
Upload File : |
/*
Template Name: Admin Press Admin
Author: Themedesigner
Email: niravjoshi87@gmail.com
File: js
*/
$(function() {
"use strict";
// ==============================================================
// Sales overview
// ==============================================================
Morris.Area({
element: 'earning',
data: [{
period: '2011',
Sales: 50,
Earning: 80,
Marketing: 20
}, {
period: '2012',
Sales: 130,
Earning: 100,
Marketing: 80
}, {
period: '2013',
Sales: 80,
Earning: 60,
Marketing: 70
}, {
period: '2014',
Sales: 70,
Earning: 200,
Marketing: 140
}, {
period: '2015',
Sales: 180,
Earning: 150,
Marketing: 140
}, {
period: '2016',
Sales: 105,
Earning: 100,
Marketing: 80
},
{
period: '2017',
Sales: 250,
Earning: 150,
Marketing: 200
}
],
xkey: 'period',
ykeys: ['Sales', 'Earning'],
labels: ['Sales', 'Earning'],
pointSize: 3,
fillOpacity: 0,
pointStrokeColors: ['#1976d2', '#26c6da', '#1976d2'],
behaveLikeLine: true,
gridLineColor: '#e0e0e0',
lineWidth: 3,
hideHover: 'auto',
lineColors: ['#1976d2', '#26c6da', '#1976d2'],
resize: true
});
// ==============================================================
// Sales overview
// ==============================================================
// ==============================================================
// Download count
// ==============================================================
var sparklineLogin = function() {
$('.spark-count').sparkline([4, 5, 0, 10, 9, 12, 4, 9, 4, 5, 3, 10, 9, 12, 10, 9], {
type: 'bar',
width: '100%',
height: '70',
barWidth: '2',
resize: true,
barSpacing: '6',
barColor: 'rgba(255, 255, 255, 0.3)'
});
$('.spark-count2').sparkline([20, 40, 30], {
type: 'pie',
height: '90',
resize: true,
sliceColors: ['#1cadbf', '#1f5f67', '#ffffff']
});
}
var sparkResize;
sparklineLogin();
});