From 760d63bfdcdce58a462ff7e58a91c4de7b113b4f Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 22 Jun 2016 15:56:11 -0400 Subject: [PATCH] Small fixes for heat map views --- static/css/directives/ui/heatmap.css | 2 +- static/js/directives/ui/heatmap.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/css/directives/ui/heatmap.css b/static/css/directives/ui/heatmap.css index ab5e27960..9295c2805 100644 --- a/static/css/directives/ui/heatmap.css +++ b/static/css/directives/ui/heatmap.css @@ -14,4 +14,4 @@ font-family: 'Source Sans Pro', sans-serif; font-size: 12px; text-transform: uppercase; -} \ No newline at end of file +} diff --git a/static/js/directives/ui/heatmap.js b/static/js/directives/ui/heatmap.js index c035b25ba..4c4d5800f 100644 --- a/static/js/directives/ui/heatmap.js +++ b/static/js/directives/ui/heatmap.js @@ -39,10 +39,12 @@ angular.module('quay').directive('heatmap', function () { domainMargin: [10, 10, 10, 10], displayLegend: false, tooltip: true, + weekStartOnMonday: false, legendColors: { empty: "#f4f4f4", min: "#c9e9fb", max: "steelblue", + base: 'white' } }); } @@ -59,7 +61,7 @@ angular.module('quay').directive('heatmap', function () { }; $scope.$watch('data', function() { - $timeout(refresh, 500); + $timeout(refresh, 750); }); } };