Inisital Asset Commit

This commit is contained in:
Hickmeister
2025-01-03 23:10:59 +00:00
parent 18cb77cb3d
commit b1be0cb849
833 changed files with 159911 additions and 0 deletions

View File

@@ -0,0 +1,490 @@
$(function() {
"use strict";
window.Apex = {
stroke: {
width: 3
},
markers: {
size: 0
},
tooltip: {
fixed: {
enabled: true,
}
}
};
var randomizeArray = function (arg) {
var array = arg.slice();
var currentIndex = array.length,
temporaryValue, randomIndex;
while (0 !== currentIndex) {
randomIndex = Math.floor(Math.random() * currentIndex);
currentIndex -= 1;
temporaryValue = array[currentIndex];
array[currentIndex] = array[randomIndex];
array[randomIndex] = temporaryValue;
}
return array;
}
// data for the sparklines that appear below header area
var sparklineData = [47, 45, 54, 38, 56, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46];
var spark1 = {
chart: {
foreColor: 'rgba(255, 255, 255, 255)',
type: 'area',
height: 160,
sparkline: {
enabled: true
},
},
stroke: {
width: 2,
curve: 'straight'
},
fill: {
type: 'gradient',
gradient: {
shade: 'light',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 0.9,
opacityTo: 0.2,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
dataLabels: {
enabled: false
},
tooltip: {
enabled: true,
theme: 'dark',
},
series: [{
data: randomizeArray(sparklineData)
}],
yaxis: {
min: 0
},
title: {
text: '$424,652',
offsetX: 0,
style: {
fontSize: '24px',
cssClass: 'apexcharts-yaxis-title'
}
},
subtitle: {
text: 'Sales',
offsetX: 0,
style: {
fontSize: '14px',
cssClass: 'apexcharts-yaxis-title'
}
}
}
var spark2 = {
chart: {
foreColor: 'rgba(255, 255, 255, 0.85)',
type: 'area',
height: 160,
sparkline: {
enabled: true
},
},
stroke: {
width: 2,
curve: 'straight'
},
fill: {
type: 'gradient',
gradient: {
shade: 'dark',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 0.8,
opacityTo: 0.2,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
dataLabels: {
enabled: false
},
tooltip: {
enabled: true,
theme: 'dark',
},
series: [{
data: randomizeArray(sparklineData)
}],
yaxis: {
min: 0
},
title: {
text: '$235,312',
offsetX: 0,
style: {
fontSize: '24px',
cssClass: 'apexcharts-yaxis-title'
}
},
subtitle: {
text: 'Expenses',
offsetX: 0,
style: {
fontSize: '14px',
cssClass: 'apexcharts-yaxis-title'
}
}
}
var spark3 = {
chart: {
foreColor: 'rgba(255, 255, 255, 255)',
type: 'area',
height: 160,
sparkline: {
enabled: true
},
},
stroke: {
width: 2,
curve: 'straight'
},
fill: {
type: 'gradient',
gradient: {
shade: 'dark',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 0.8,
opacityTo: 0.2,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
dataLabels: {
enabled: false
},
tooltip: {
enabled: true,
theme: 'dark',
},
series: [{
data: randomizeArray(sparklineData)
}],
xaxis: {
crosshairs: {
width: 1
},
},
yaxis: {
min: 0
},
title: {
text: '$135,965',
offsetX: 0,
style: {
fontSize: '24px',
cssClass: 'apexcharts-yaxis-title'
}
},
subtitle: {
text: 'Profits',
offsetX: 0,
style: {
fontSize: '14px',
cssClass: 'apexcharts-yaxis-title'
}
}
}
var spark1 = new ApexCharts(document.querySelector("#spark1"), spark1);
spark1.render();
var spark2 = new ApexCharts(document.querySelector("#spark2"), spark2);
spark2.render();
var spark3 = new ApexCharts(document.querySelector("#spark3"), spark3);
spark3.render();
var options1 = {
chart: {
type: 'line',
width: '100%',
height: 55,
sparkline: {
enabled: true
}
},
fill: {
type: 'gradient',
gradient: {
shade: 'dark',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 1,
opacityTo: 1,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
series: [{
name: 'Sales',
data: [25, 66, 41, 89, 63, 25, 44, 12, 36, 9, 54]
}],
tooltip: {
theme: 'dark',
x: {
show: false
},
}
}
var options2 = {
chart: {
type: 'line',
width: '100%',
height: 55,
sparkline: {
enabled: true
}
},
fill: {
type: 'gradient',
gradient: {
shade: 'dark',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 1,
opacityTo: 1,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
series: [{
name: 'Expenses',
data: [12, 14, 2, 47, 42, 15, 47, 75, 65, 19, 14]
}],
tooltip: {
theme: 'dark',
x: {
show: false
},
}
}
var options3 = {
chart: {
type: 'line',
width: '100%',
height: 55,
sparkline: {
enabled: true
}
},
fill: {
type: 'gradient',
gradient: {
shade: 'dark',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 1,
opacityTo: 1,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
series: [{
name: 'Profits',
data: [47, 45, 74, 14, 56, 74, 14, 11, 7, 39, 82]
}],
tooltip: {
theme: 'dark',
x: {
show: false
},
}
}
var options4 = {
chart: {
type: 'bar',
width: '100%',
height: 55,
sparkline: {
enabled: true
}
},
plotOptions: {
bar: {
columnWidth: '50%'
}
},
dataLabels: {
enabled: false
},
fill: {
type: 'gradient',
gradient: {
shade: 'dark',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 0.8,
opacityTo: 0.2,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
series: [{
name: 'Sales',
data: [25, 66, 41, 89, 63, 25, 44, 12, 36, 9, 54]
}],
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
xaxis: {
crosshairs: {
width: 1
},
},
tooltip: {
theme: 'dark',
x: {
show: false
},
}
}
var options5 = {
chart: {
type: 'bar',
width: '100%',
height: 55,
sparkline: {
enabled: true
}
},
plotOptions: {
bar: {
columnWidth: '50%'
}
},
dataLabels: {
enabled: false
},
series: [{
name: 'Expenses',
data: [12, 14, 2, 47, 42, 15, 47, 75, 65, 19, 14]
}],
fill: {
type: 'gradient',
gradient: {
shade: 'dark',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 0.8,
opacityTo: 0.2,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
xaxis: {
crosshairs: {
width: 1
},
},
tooltip: {
theme: 'dark',
x: {
show: false
},
}
}
var options6 = {
chart: {
type: 'bar',
width: '100%',
height: 55,
sparkline: {
enabled: true
}
},
plotOptions: {
bar: {
columnWidth: '50%'
}
},
fill: {
type: 'gradient',
gradient: {
shade: 'dark',
gradientToColors: [ '#fff'],
shadeIntensity: 1,
type: 'vertical',
opacityFrom: 0.8,
opacityTo: 0.2,
stops: [0, 100, 100, 100]
},
},
colors: ["#fff"],
dataLabels: {
enabled: false
},
series: [{
name: 'Profits',
data: [47, 45, 74, 14, 56, 74, 14, 11, 7, 39, 82]
}],
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
xaxis: {
crosshairs: {
width: 1
},
},
tooltip: {
theme: 'dark',
x: {
show: false
},
}
}
new ApexCharts(document.querySelector("#chart1"), options1).render();
new ApexCharts(document.querySelector("#chart2"), options2).render();
new ApexCharts(document.querySelector("#chart3"), options3).render();
new ApexCharts(document.querySelector("#chart4"), options4).render();
new ApexCharts(document.querySelector("#chart5"), options5).render();
new ApexCharts(document.querySelector("#chart6"), options6).render();
});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,82 @@
$(function() {
"use strict";
$('#sparklinechart1').sparkline([ 1, 4, 5, 9, 8, 10, 5, 8, 4, 1, 0, 7, 5, 7, 9, 8, 10, 5], {
type: 'bar',
height: '45',
barWidth: '3',
resize: true,
barSpacing: '4',
barColor: '#ffffff',
spotColor: '#ffffff',
minSpotColor: '#ffffff',
maxSpotColor: '#ffffff',
highlightSpotColor: '#ffffff',
highlightLineColor: '#ffffff'
});
$("#sparklinechart2").sparkline([1,1,0,1,-1,-1,1,-1,0,0,1,-1,1,1,-1,0,0,1,1,-1,-1,1,1], {
type: 'tristate',
height: '30',
zeroAxis: false
});
$("#sparklinechart3").sparkline([28,48,40,19,96,27,100], {
type: 'line',
width: '150',
height: '65',
lineWidth: '2',
lineColor: '#ffffff',
fillColor: 'transparent',
spotColor: '#ffffff',
minSpotColor: '#ffffff',
maxSpotColor: '#ffffff',
highlightSpotColor: '#ffffff',
highlightLineColor: '#ffffff'
});
$("#sparklinechart4").sparkline([5,6,7,9,9,5,3,2,2,4,6,7], {
type: 'line',
width: '180',
height: '65',
lineWidth: '2',
lineColor: '#ffffff',
fillColor: 'rgba(255, 255, 255, 0.65)',
maxSpotColor: '#ffffff',
highlightLineColor: '#ffffff',
highlightSpotColor: '#ffffff'
});
$('#sparklinechart5').sparkline([20, 20, 20], {
type: 'pie',
height: '200',
resize: true,
sliceColors: ['rgb(255, 255, 255)', 'rgba(255, 255, 255, 0.65)', 'rgba(255, 255, 255, 0.35)']
});
$('#sparklinechart6').sparkline([40, 40, 40], {
type: 'pie',
height: '200',
resize: true,
sliceColors: ['#d13adf', '#fba540', '#03d0ea']
});
$("#sparklinechart7").sparkline([15,16,20,18,19,14,17,12,11,12,10,14,17,14,10,15], {
type: 'bar',
width: '100%',
height: '200',
barWidth: 6,
barSpacing: 10,
barColor: '#ffffff'
});
});