Ensure metric chart background is white

This commit is contained in:
JUDIT GRESKOVITS 2017-01-25 14:17:57 +00:00
parent f1cf0c4011
commit 9363f80780
1 changed files with 6 additions and 0 deletions

View File

@ -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`