forked from github/dataease
feat: S2 Event
This commit is contained in:
parent
4be52b9908
commit
f4fb642c17
@ -210,18 +210,6 @@ export default {
|
||||
const cell = this.myChart.getCell(param.target)
|
||||
const meta = cell.getMeta()
|
||||
console.log(meta)
|
||||
// if (this.chart.type === 'treemap') {
|
||||
// this.pointParam = param.data.data
|
||||
// } else {
|
||||
// this.pointParam = param.data
|
||||
// }
|
||||
// if (this.trackMenu.length < 2) { // 只有一个事件直接调用
|
||||
// this.trackClick(this.trackMenu[0])
|
||||
// } else { // 视图关联多个事件
|
||||
// this.trackBarStyle.left = param.x + 'px'
|
||||
// this.trackBarStyle.top = (param.y + 10) + 'px'
|
||||
// this.$refs.viewTrack.trackButtonClick()
|
||||
// }
|
||||
|
||||
let xAxis = []
|
||||
if (this.chart.xaxis) {
|
||||
|
@ -483,7 +483,7 @@
|
||||
</div>
|
||||
</el-row>
|
||||
<el-row
|
||||
v-if="view.type && !(view.type.includes('table') && view.render === 'echarts') && !view.type.includes('text') && !view.type.includes('gauge') && view.type !== 'liquid' && view.type !== 'word-cloud'"
|
||||
v-if="view.type && !view.type.includes('table') && !view.type.includes('text') && !view.type.includes('gauge') && view.type !== 'liquid' && view.type !== 'word-cloud'"
|
||||
class="padding-lr"
|
||||
style="margin-top: 6px;"
|
||||
>
|
||||
@ -1325,7 +1325,7 @@ export default {
|
||||
view.customAttr.label.show = true
|
||||
}
|
||||
if (view.type === 'liquid' ||
|
||||
(view.type.includes('table') && view.render === 'echarts') ||
|
||||
view.type.includes('table') ||
|
||||
view.type.includes('text') ||
|
||||
view.type.includes('gauge')) {
|
||||
view.drillFields = []
|
||||
|
Loading…
Reference in New Issue
Block a user