This commit is contained in:
lb
2023-12-19 15:49:24 +08:00
parent 4fc0cf19e9
commit 903a576cdc
3 changed files with 120 additions and 95 deletions

View File

@@ -144,6 +144,12 @@ function getOptions(showChart, hisState, runState) {
data: v,
type: "line",
symbol: "circle",
// label: {
// show: true,
// position: "top",
// distance: 10,
// color: "#fffc",
// },
areaStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: colors[i % colors.length] + "40" },
@@ -154,6 +160,11 @@ function getOptions(showChart, hisState, runState) {
})),
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow",
},
className: "xc-chart-tooltip",
// backgroundColor: ''
},
};
} else {