Ensure metric chart background is white
This commit is contained in:
parent
f1cf0c4011
commit
9363f80780
@ -3,9 +3,14 @@ const Styled = require('styled-components');
|
|||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
const Chart = require('chart.js');
|
const Chart = require('chart.js');
|
||||||
const whisker = require('chartjs-chart-box-plot');
|
const whisker = require('chartjs-chart-box-plot');
|
||||||
|
const constants = require('../../shared/constants');
|
||||||
|
|
||||||
whisker(Chart);
|
whisker(Chart);
|
||||||
|
|
||||||
|
const {
|
||||||
|
colors
|
||||||
|
} = constants;
|
||||||
|
|
||||||
const {
|
const {
|
||||||
default: styled
|
default: styled
|
||||||
} = Styled;
|
} = Styled;
|
||||||
@ -14,6 +19,7 @@ const Container = styled.div`
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
background-color: ${colors.brandPrimaryColor};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Canvas = styled.canvas`
|
const Canvas = styled.canvas`
|
||||||
|
Loading…
Reference in New Issue
Block a user