Skip to content

Commit

Permalink
Increases font sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariano Gappa committed Jan 3, 2018
1 parent f6cda05 commit 0f0bed5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions chartjs.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ func init() {
options: {
title: {
display: {{ if len .Title }}true{{else}}false{{end}},
text: '{{ .Title }}'
text: '{{ .Title }}',
fontSize: 20
},
tooltips: {
callbacks: {
Expand All @@ -54,7 +55,8 @@ func init() {
{{ if ne .ChartType "pie" }}
legend: {
display: {{ if gt (len .Datasets) 1 }}true,
position: 'bottom'{{else}}false{{end}}
position: 'bottom'{{else}}false{{end}},
labels: {fontSize: 16}
},
scales: {
yAxes: [{
Expand Down

0 comments on commit 0f0bed5

Please sign in to comment.