mirror of
https://github.com/yldio/copilot.git
synced 2024-12-29 05:10:05 +02:00
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 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`
|
||||
|
Loading…
Reference in New Issue
Block a user