modify style

This commit is contained in:
MaysWind
2023-07-30 18:37:32 +08:00
parent 6e41668b25
commit 6cb7e4caf7
+1 -1
View File
@@ -153,6 +153,7 @@ export default {
tooltip: { tooltip: {
trigger: 'item', trigger: 'item',
backgroundColor: self.isDarkMode ? '#333' : '#fff', backgroundColor: self.isDarkMode ? '#333' : '#fff',
borderColor: self.isDarkMode ? '#333' : '#fff',
textStyle: { textStyle: {
color: self.isDarkMode ? '#eee' : '#333' color: self.isDarkMode ? '#eee' : '#333'
}, },
@@ -174,7 +175,6 @@ export default {
}, },
legend: { legend: {
orient: 'horizontal', orient: 'horizontal',
left: 'top',
data: self.validItems.map(item => item.name), data: self.validItems.map(item => item.name),
selected: self.selectedLegends, selected: self.selectedLegends,
textStyle: { textStyle: {