Skip to content

Commit

Permalink
Y axes should start at zero
Browse files Browse the repository at this point in the history
Because anything else is bad data presentation.
  • Loading branch information
Floppy committed Jul 1, 2016
1 parent 2934f3d commit 48566e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/public/javascripts/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function getLayout(title, textcolour, boxcolour) {
}
},
yaxis: {
rangemode: 'tozero',
gridcolor: '#D3D3D3',
tickangle: 315,
tickfont: {
Expand Down

0 comments on commit 48566e1

Please sign in to comment.