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:
@ -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
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user