Skip to content

Commit

Permalink
Feature/sak 34047 make graph title and axis labels bigger (sakaiproje…
Browse files Browse the repository at this point in the history
…ct#5470)

* #3432 Make sure mapped grades are not null when they are collected.

Mapped grades will be null if the student doesn't have a course grade yet.

* Changed font size and weight for chart title and axis labels

Issue: SAK-34047

* Changed font sizes and made the step labels bold

Issue: SAK-34037
  • Loading branch information
amiedavis authored and steveswinsburg committed Apr 8, 2018
1 parent 57bf43f commit 5208fb6
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions gradebookng/tool/src/webapp/scripts/gradebook-coursegrade-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ function _renderChart(dataset) {
options: {
title: {
display: true,
text: 'Course Grade Distribution'
text: 'Course Grade Distribution',
fontSize: 18,
fontStyle: 'bold'
},
legend: {
display: false
Expand All @@ -84,17 +86,25 @@ function _renderChart(dataset) {
xAxes: [{
ticks: {
beginAtZero:true,
stepSize: 1
stepSize: 1,
fontStyle: 'bold'
},
scaleLabel: {
display: true,
labelString: 'Number of Students'
labelString: 'Number of Students',
fontSize: 14,
fontStyle: 'bold'
}
}],
yAxes: [{
ticks: {
fontStyle: 'bold'
},
scaleLabel: {
display: true,
labelString: 'Course Grade'
labelString: 'Course Grade',
fontSize: 14,
fontStyle: 'bold'
}
}]
},
Expand Down

0 comments on commit 5208fb6

Please sign in to comment.