From fe1c86bf0b9febf57c014428b10271ce840de699 Mon Sep 17 00:00:00 2001 From: Robert Casey Date: Sat, 18 Feb 2017 13:37:36 -0600 Subject: [PATCH] Graphs could sometimes be difficult to read because you would see non-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. --- src/main/resources/offsetapp/scripts/directives.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/offsetapp/scripts/directives.js b/src/main/resources/offsetapp/scripts/directives.js index 2865843..d3bca2d 100644 --- a/src/main/resources/offsetapp/scripts/directives.js +++ b/src/main/resources/offsetapp/scripts/directives.js @@ -180,6 +180,7 @@ angular.module("offsetapp.directives", []) } }, yAxis: [{ + allowDecimals: false, title: { text: "Offset Position", style: { @@ -193,6 +194,7 @@ angular.module("offsetapp.directives", []) }, opposite: false },{ + allowDecimals: false, title: { text: "Lag", style: {