fix: update options

This commit is contained in:
Fine 2023-01-05 15:59:52 +08:00
parent 2168a67128
commit 8fa6ed4b2c

View File

@ -74,12 +74,14 @@ limitations under the License. -->
return {
color,
tooltip: {
trigger: "none",
axisPointer: {
type: "cross",
trigger: "axis",
textStyle: {
fontSize: 12,
color: "#333",
backgroundColor: "rgba(255, 255, 255, 0.8)",
},
enterable: true,
confine: true,
extraCssText: "max-height: 300px; overflow: auto; border: none;",
},
legend: {
type: "scroll",
@ -99,12 +101,6 @@ limitations under the License. -->
bottom: 5,
containLabel: true,
},
axisPointer: {
label: {
color: "#333",
backgroundColor: "rgba(255, 255, 255, 0.8)",
},
},
xAxis: {
type: "category",
axisTick: {