Color palette changing for the funsies

This commit is contained in:
2023-10-03 17:56:09 -05:00
parent 572e9ae558
commit 8cbf2ef3ce
4 changed files with 82 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ submitButton.addEventListener("click", parseName);
if (chartDiv.getAttribute('value') == 'invisible') {
chartDiv.style.display = 'none';
}
Chart.defaults.global.defaultFontColor = "#F8F0E5";
/**
* Parse the input forms and determines if any fields are missing
@@ -164,7 +165,7 @@ function createChart(gradeDist, courseName) {
options: {
legend: {
labels: {
fontColor: "#00FF59",
fontColor: "#F8F0E5",
fontSize: 15
}
},