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 { .tooltip {
position: relative; position: relative;
} }

BIN
img/.DS_Store vendored

Binary file not shown.

View File

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

View File

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