feat: S2 Event

This commit is contained in:
junjie 2022-02-05 13:02:30 +08:00
parent 4be52b9908
commit f4fb642c17
2 changed files with 2 additions and 14 deletions

View File

@ -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) {

View File

@ -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 = []