修改bug
This commit is contained in:
@@ -309,21 +309,21 @@ const init = () => {
|
||||
// right: '4%'
|
||||
// },
|
||||
tooltip: {
|
||||
axisPointer: {
|
||||
type: 'cross',
|
||||
label: {
|
||||
color: '#fff',
|
||||
fontSize: 16
|
||||
}
|
||||
},
|
||||
textStyle: {
|
||||
color: '#fff',
|
||||
fontStyle: 'normal',
|
||||
opacity: 0.35,
|
||||
fontSize: 14
|
||||
},
|
||||
backgroundColor: 'rgba(0,0,0,0.35)',
|
||||
borderWidth: 0
|
||||
// axisPointer: {
|
||||
// type: 'cross',
|
||||
// label: {
|
||||
// color: '#fff',
|
||||
// fontSize: 16
|
||||
// }
|
||||
// },
|
||||
// textStyle: {
|
||||
// color: '#fff',
|
||||
// fontStyle: 'normal',
|
||||
// opacity: 0.35,
|
||||
// fontSize: 14
|
||||
// },
|
||||
// backgroundColor: 'rgba(0,0,0,0.35)',
|
||||
// borderWidth: 0
|
||||
},
|
||||
xAxis: {
|
||||
name: '时间',
|
||||
|
||||
@@ -241,7 +241,7 @@ const init = async () => {
|
||||
itemGap: 15,
|
||||
type: 'scroll', // 开启滚动分页
|
||||
// orient: 'vertical', // 垂直排列
|
||||
top: 5,
|
||||
top: 10,
|
||||
bottom: 30,
|
||||
width: 400,
|
||||
height: 50
|
||||
@@ -353,7 +353,7 @@ const init = async () => {
|
||||
ABCList.forEach((kk: any) => {
|
||||
let seriesList: any = []
|
||||
kk.forEach((cc: any) => {
|
||||
if (cc.statisticalData) {
|
||||
if (cc.statisticalData !== null) {
|
||||
yMethodList.push(cc.statisticalData?.toFixed(2) - 0)
|
||||
}
|
||||
|
||||
|
||||
@@ -475,7 +475,7 @@ const init = (flag: boolean) => {
|
||||
itemGap: 15,
|
||||
type: 'scroll', // 开启滚动分页
|
||||
// orient: 'vertical', // 垂直排列
|
||||
top: 5,
|
||||
top: 10,
|
||||
bottom: 30,
|
||||
width: 400,
|
||||
height: 50
|
||||
@@ -559,7 +559,7 @@ const init = (flag: boolean) => {
|
||||
ABCList.forEach((kk: any) => {
|
||||
let seriesList: any = []
|
||||
kk.forEach((cc: any) => {
|
||||
if (cc.statisticalData) {
|
||||
if (cc.statisticalData !== null) {
|
||||
yMethodList.push(cc.statisticalData?.toFixed(2) - 0)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user