提交 f4fb642c authored 作者: junjie's avatar junjie

feat: S2 Event

上级 4be52b99
......@@ -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 = []
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论