Changed Chart Styles

This commit is contained in:
James Dinh 2022-08-17 21:39:32 -07:00
parent 871cfd7614
commit d0dc9f240c
6 changed files with 23 additions and 7 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
css/.DS_Store vendored

Binary file not shown.

View File

@ -1398,6 +1398,14 @@ section {
}
}
#chart {
color: #000;
}
.apexcharts-legend-text {
color: #fff !important;
}
.tooltip {
position: relative;
}

BIN
img/.DS_Store vendored

Binary file not shown.

View File

@ -16,7 +16,6 @@
<title>Gilroy Hacks</title>
<link href="css/general.css" rel="stylesheet" type="text/css" media="all">
<link href="css/scroll_nav.css" rel="stylesheet" type="text/css" media="all">
<link href="css/apexcharts.css" rel="stylesheet" type="text/css" media="all">
<link rel="stylesheet" href="css/leaflet.css"/>
<link rel="icon" href="img/Gilroy-Hacks-Logo-icon-tp.ico">
<link rel="apple-touch-icon" href="img/Gilroy_Hacks_Logo_app.png">

View File

@ -250,7 +250,7 @@ function notification(id) {
var options = {
series: [{
name: 'Idea',
data: [7, 9, 6, 10, 14]
data: [7, 9, 6, 10, 14],
}, {
name: 'Implementation',
data: [11, 6, 11, 3, 9]
@ -259,7 +259,7 @@ var options = {
data: [12, 7, 12, 11, 8]
}, {
name: 'Overall',
data: [10, 6, 9, 7, 11]
data: [10, 6, 9, 7, 11],
}],
chart: {
type: 'bar',
@ -283,10 +283,18 @@ var options = {
labels: {
formatter: function (val) {
return val + ""
},
style: {
colors: '#fff'
}
}
},
},
yaxis: {
labels: {
style: {
colors: '#fff'
}
},
title: {
text: undefined
},
@ -296,7 +304,8 @@ var options = {
formatter: function (val) {
return val + ""
}
}
},
colors: ['#fff']
},
fill: {
opacity: 1
@ -304,8 +313,8 @@ var options = {
legend: {
position: 'top',
horizontalAlign: 'left',
offsetX: 40
}
offsetX: 40,
},
};
var chart = new ApexCharts(document.querySelector("#chart"), options);