fix(style): form field item

This commit is contained in:
jialin
2024-07-04 10:47:22 +08:00
parent b2d70c1d53
commit ed3f9f7e96
24 changed files with 214 additions and 127 deletions
+2 -5
View File
@@ -3,6 +3,7 @@ import {
barItemConfig,
grid,
legend,
title as titleConfig,
tooltip,
xAxis,
yAxis
@@ -65,11 +66,7 @@ const BarChart: React.FC<ChartProps> = (props) => {
const optionsConfig = {
...options,
title: {
show: true,
left: 'center',
textStyle: {
fontSize: 14
},
...titleConfig,
text: title
},
yAxis: {
+2 -1
View File
@@ -76,7 +76,8 @@ export const title = {
show: true,
left: 'center',
textStyle: {
fontSize: 14
fontSize: 12,
color: '#000'
},
text: ''
};
+2 -5
View File
@@ -3,6 +3,7 @@ import {
grid,
legend,
lineItemConfig,
title as titleConfig,
tooltip,
xAxis,
yAxis
@@ -67,11 +68,7 @@ const LineChart: React.FC<ChartProps> = (props) => {
const optionsConfig = {
...options,
title: {
show: true,
left: 'center',
textStyle: {
fontSize: 14
},
...titleConfig,
text: title
},
yAxis: {