Modified the background of the bright color interface curve

pull/136/head
tianlinzhong 2022-03-22 21:44:36 +08:00
parent 865d9c5541
commit 835235e3f9
1 changed files with 9 additions and 8 deletions

View File

@ -30,7 +30,7 @@ const LineChart = ({
{ {
borderWidth: 2, borderWidth: 2,
data: data[option], data: data[option],
borderColor: rgbaColor(isDark ? themeColors.primary : '#fff', 0.8), borderColor: rgbaColor(isDark ? themeColors.primary : '#000', 0.8),
backgroundColor: gradientFill backgroundColor: gradientFill
} }
] ]
@ -53,12 +53,12 @@ const LineChart = ({
xAxes: [ xAxes: [
{ {
ticks: { ticks: {
fontColor: rgbaColor('#fff', 0.7), fontColor: rgbaColor('#789', 0.8),
fontStyle: 600 fontStyle: 600
}, },
gridLines: { gridLines: {
color: rgbaColor('#fff', 0.1), color: rgbaColor('#000', 0.1),
zeroLineColor: rgbaColor('#fff', 0.1), zeroLineColor: rgbaColor('#000', 0.1),
lineWidth: 1 lineWidth: 1
} }
} }
@ -67,7 +67,7 @@ const LineChart = ({
{ {
display: true, display: true,
gridLines: { gridLines: {
color: rgbaColor('#fff', 0.1) color: rgbaColor('#000', 0.1)
} }
} }
] ]
@ -77,10 +77,10 @@ const LineChart = ({
return ( return (
<Card className="mb-3"> <Card className="mb-3">
<CardBody className="rounded-soft bg-gradient"> <CardBody className="rounded-soft">
<Row className="text-white align-items-center no-gutters"> <Row className="text-white align-items-center no-gutters">
<Col> <Col>
<h4 className="text-white mb-0">{reportingTitle}</h4> <h4 className="mb-0" style={{color:'#789'}} >{reportingTitle}</h4>
<p className="fs--1 font-weight-semi-bold"> <p className="fs--1 font-weight-semi-bold">
{baseTitle} {baseTitle}
</p> </p>
@ -109,3 +109,4 @@ const LineChart = ({
}; };
export default LineChart; export default LineChart;