This commit is contained in:
parent
3984d334de
commit
2db21bf40d
|
@ -40,6 +40,14 @@ const setOption = async (xData: any[], yData: any[]) => {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontWeight: "500",
|
fontWeight: "500",
|
||||||
},
|
},
|
||||||
|
axisPointer: {
|
||||||
|
type: 'line',
|
||||||
|
lineStyle: {
|
||||||
|
color: 'rgb(0, 148, 168)',
|
||||||
|
type: 'solid',
|
||||||
|
extraCssText: 'height:0;',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
type: "value",
|
type: "value",
|
||||||
|
@ -73,7 +81,7 @@ const setOption = async (xData: any[], yData: any[]) => {
|
||||||
show: false,
|
show: false,
|
||||||
left: "10px",
|
left: "10px",
|
||||||
right: "30px",
|
right: "30px",
|
||||||
bottom: "0px",
|
bottom: "10px",
|
||||||
top: "30px",
|
top: "30px",
|
||||||
containLabel: true,
|
containLabel: true,
|
||||||
// borderColor: "#1F63A3",
|
// borderColor: "#1F63A3",
|
||||||
|
@ -102,13 +110,13 @@ const setOption = async (xData: any[], yData: any[]) => {
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
color: "#09CAF3",
|
color: "#09CAF3",
|
||||||
backgroundColor: "rgba(9,202,243,0.1)",
|
fontSize: '16',
|
||||||
|
// backgroundColor: "rgba(9,202,243,0.1)",
|
||||||
borderRadius: 6,
|
// borderRadius: 6,
|
||||||
borderColor: "rgba(9,202,243,.5)",
|
// borderColor: "rgba(9,202,243,.5)",
|
||||||
padding: [7, 14],
|
// padding: [7, 14],
|
||||||
// formatter: "报警2:{c}",
|
// formatter: "报警2:{c}",
|
||||||
borderWidth: 0.5,
|
// borderWidth: 0.5,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue