修改测试bug
This commit is contained in:
@@ -44,7 +44,10 @@ const initChart = () => {
|
||||
left: 'center',
|
||||
// textStyle: {
|
||||
color: '#000',
|
||||
fontSize: 18,
|
||||
textStyle: {
|
||||
color: '#000',
|
||||
fontSize: '18'
|
||||
},
|
||||
// },
|
||||
...(props.options?.title || null)
|
||||
},
|
||||
@@ -69,8 +72,8 @@ const initChart = () => {
|
||||
...(props.options?.tooltip || null)
|
||||
},
|
||||
toolbox: {
|
||||
right: 20,
|
||||
top: 20,
|
||||
right: 10,
|
||||
top: 0,
|
||||
feature: {
|
||||
saveAsImage: {
|
||||
title: '保存图片'
|
||||
@@ -81,8 +84,8 @@ const initChart = () => {
|
||||
...(props.options?.toolbox || null)
|
||||
},
|
||||
legend: {
|
||||
right: 20,
|
||||
top: 0,
|
||||
right: 40,
|
||||
top: 10,
|
||||
itemGap: 10,
|
||||
itemStyle: {},
|
||||
// textStyle: {
|
||||
|
||||
Reference in New Issue
Block a user