From 9363f807805f75de6b5300d4358b6e629d48ceb6 Mon Sep 17 00:00:00 2001 From: JUDIT GRESKOVITS Date: Wed, 25 Jan 2017 14:17:57 +0000 Subject: [PATCH] Ensure metric chart background is white --- ui/src/components/metric/graph.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/src/components/metric/graph.js b/ui/src/components/metric/graph.js index fd58b795..8fb00de9 100644 --- a/ui/src/components/metric/graph.js +++ b/ui/src/components/metric/graph.js @@ -3,9 +3,14 @@ const Styled = require('styled-components'); const moment = require('moment'); const Chart = require('chart.js'); const whisker = require('chartjs-chart-box-plot'); +const constants = require('../../shared/constants'); whisker(Chart); +const { + colors +} = constants; + const { default: styled } = Styled; @@ -14,6 +19,7 @@ const Container = styled.div` position: relative; height: 100%; width: 100%; + background-color: ${colors.brandPrimaryColor}; `; const Canvas = styled.canvas`