Skip to content

Commit 286a4f4

Browse files
Graph Ticker and Title Color Change
- From grey to blue!
1 parent 1fd24da commit 286a4f4

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/graphAnnual.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function createAnnualHoursGraph() {
4848
title: {
4949
display: true,
5050
text: 'Annual Hours',
51+
color: '#5E9FDF',
5152
},
5253
},
5354
scales: {
@@ -58,7 +59,7 @@ function createAnnualHoursGraph() {
5859
ticks: {
5960
beginAtZero: true,
6061
display: true,
61-
fontColor: '#1976D2',
62+
color: '#5E9FDF',
6263
},
6364
},
6465
x: {
@@ -67,7 +68,6 @@ function createAnnualHoursGraph() {
6768
},
6869
ticks: {
6970
display: false,
70-
fontColor: '#1976D2',
7171
},
7272
},
7373
},

src/graphMonth.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ function createChart() {
7777
title:{
7878
display: true,
7979
text: 'Past 30 Days',
80+
color: '#5E9FDF',
8081
}
8182
},
8283
scales: {
@@ -87,7 +88,7 @@ function createChart() {
8788
ticks: {
8889
beginAtZero: true,
8990
display: true,
90-
fontColor: '#1976D2',
91+
color: '#5E9FDF',
9192
},
9293
},
9394
x: {
@@ -96,7 +97,6 @@ function createChart() {
9697
},
9798
ticks: {
9899
display: false,
99-
fontColor: '#1976D2',
100100
},
101101
},
102102
},

src/graphWeekCompare.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function createWeekCompare() {
3434
title: {
3535
display: true,
3636
text: 'Weekly Hours Comparison',
37+
color: '#5E9FDF',
3738
},
3839
legend: {
3940
display: false // Hide legend
@@ -48,7 +49,8 @@ function createWeekCompare() {
4849
stepSize: 1, // Step size for y-axis ticks
4950
font: {
5051
size: 12 // Adjust font size for y-axis ticks
51-
}
52+
},
53+
color: '#5E9FDF',
5254
}
5355
},
5456
x: {

0 commit comments

Comments
 (0)