1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

Add flag icon on client profile

This commit is contained in:
RaidMax
2019-08-04 17:06:07 -05:00
parent 8bd67a1629
commit 38313ab184
14 changed files with 143 additions and 30 deletions

View File

@ -20,7 +20,7 @@
if (interval < 1)
interval = 1;
let primaryColor = window.getComputedStyle(document.body).getPropertyValue('--primary').trim();
//let primaryColor = $('.nav-tabs .nav-link.active').first().css('background-color')
return new CanvasJS.Chart(id, {
backgroundColor: 'transparent',
@ -56,10 +56,11 @@
dockInsidePlotArea: true
},
data: [{
type: 'splineArea',
color: primaryColor.endsWith('80') ? primaryColor : primaryColor + '40',
markerSize: 3.5,
dataPoints: fixedData
type: 'spline',
color: '#c0c0c0',
markerSize: 0,
dataPoints: fixedData,
lineThickness: 2
}]
});
}