fix: completion response handler

This commit is contained in:
jialin
2024-06-29 21:39:55 +08:00
parent d47e53114c
commit afb2a13b80
12 changed files with 57 additions and 39 deletions
View File
+9 -8
View File
@@ -83,14 +83,15 @@ const BarChart: React.FC<BarChartProps> = (props) => {
},
style: {
fill: (params: any) => {
return (
params.color ||
'linear-gradient(90deg,rgba(84, 204, 152,0.8) 0%,rgb(0, 168, 143,.7) 100%)'
);
},
radiusTopLeft: 12,
radiusTopRight: 12,
// fill: (params: any) => {
// return (
// params.color ||
// 'linear-gradient(90deg,rgba(84, 204, 152,0.8) 0%,rgb(0, 168, 143,.7) 100%)'
// );
// },
// radiusTopLeft: 12,
// radiusTopRight: 12,
fill: 'rgba(84, 204, 152,0.8)',
align: 'center',
width: 20
}
+3 -3
View File
@@ -64,7 +64,7 @@ const BarChart: React.FC<BarChartProps> = (props) => {
title: {
title,
style: {
align: 'center',
align: 'start',
titleFontSize: 14,
titleFill: 'rgba(0,0,0,0.88)',
titleFontWeight: 500
@@ -86,8 +86,8 @@ const BarChart: React.FC<BarChartProps> = (props) => {
'linear-gradient(90deg,rgba(84, 204, 152,0.8) 0%,rgb(0, 168, 143,.7) 100%)'
);
},
radiusTopLeft: 12,
radiusTopRight: 12,
// radiusTopLeft: 12,
// radiusTopRight: 12,
height: 20
}
};