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