parent
d90ca64943
commit
bc21fd66d0
@ -0,0 +1,27 @@
|
||||
export default function brokenLine(yName=[],data=[],hoveName=[]){
|
||||
const option = {
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
axisPointer: {
|
||||
// Use axis to trigger tooltip
|
||||
type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
left: '3%',
|
||||
right: '4%',
|
||||
bottom: '3%',
|
||||
containLabel: true
|
||||
},
|
||||
xAxis: {
|
||||
type: 'value'
|
||||
},
|
||||
yAxis: {
|
||||
type: 'category',
|
||||
data: yName
|
||||
},
|
||||
//数据
|
||||
series:[]
|
||||
}
|
||||
return option
|
||||
}
|
Loading…
Reference in new issue