fix(style): form field item
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -76,7 +76,8 @@ export const title = {
|
||||
show: true,
|
||||
left: 'center',
|
||||
textStyle: {
|
||||
fontSize: 14
|
||||
fontSize: 12,
|
||||
color: '#000'
|
||||
},
|
||||
text: ''
|
||||
};
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user