Skip to content

Commit

Permalink
Graphs could sometimes be difficult to read because you would see non…
Browse files Browse the repository at this point in the history
…-whole-numbers on the y-axis legend, when facts being drawn are always whole numers. Set y-axis to draw only whole numbers in the legend to make the graph easier to interpret.
  • Loading branch information
rcasey212 committed Feb 18, 2017
1 parent 920cb5d commit fe1c86b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/offsetapp/scripts/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ angular.module("offsetapp.directives", [])
}
},
yAxis: [{
allowDecimals: false,
title: {
text: "Offset Position",
style: {
Expand All @@ -193,6 +194,7 @@ angular.module("offsetapp.directives", [])
},
opposite: false
},{
allowDecimals: false,
title: {
text: "Lag",
style: {
Expand Down

0 comments on commit fe1c86b

Please sign in to comment.