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