feat: update tooltip

This commit is contained in:
Fine 2023-11-15 14:15:12 +08:00
parent 3cbb5e87ca
commit 7120a7c2c3

View File

@ -44,6 +44,12 @@ limitations under the License. -->
tooltip: { tooltip: {
trigger: "item", trigger: "item",
confine: true, confine: true,
backgroundColor: appStore.theme === Themes.Dark ? "#333" : "#fff",
borderColor: appStore.theme === Themes.Dark ? "#333" : "#fff",
textStyle: {
fontSize: 12,
color: appStore.theme === Themes.Dark ? "#eee" : "#333",
},
}, },
series: { series: {
type: "sankey", type: "sankey",