chart labelling

This commit is contained in:
Kenneth Jao 2018-02-03 23:37:37 -05:00
parent 883e5d1d6d
commit 10db79b984

View File

@ -205,7 +205,7 @@ function generateDropOp() { // For options that change based on data.
yAxes: [{ yAxes: [{
scaleLabel: { scaleLabel: {
display: true, display: true,
labelString: "Phoneme", labelString: "Phoneme (%)",
fontFamily: "'Open Sans Condensed', sans-serif", fontFamily: "'Open Sans Condensed', sans-serif",
fontSize: 20, fontSize: 20,
padding: 4 padding: 4
@ -213,6 +213,9 @@ function generateDropOp() { // For options that change based on data.
ticks: { ticks: {
fontFamily: "'Open Sans Condensed', sans-serif", fontFamily: "'Open Sans Condensed', sans-serif",
fontSize: 20, fontSize: 20,
callback: function(value) {
return value + "%";
}
} }
}], }],
xAxes: [{ xAxes: [{