chart labelling
This commit is contained in:
parent
883e5d1d6d
commit
10db79b984
@ -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: [{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user