king
2021-06-05 5463821a7f9a9d31a1d4cd553e75652ed7fc8c54
src/tabviews/custom/components/chart/antv-scatter/index.jsx
@@ -348,6 +348,9 @@
      itemName: { style: { fill: plot.color } }
    })
    if (plot.tooltip !== 'true') {
      chart.tooltip(false)
    } else {
    chart.tooltip({
      showTitle: false,
      showCrosshairs: true,
@@ -355,6 +358,8 @@
        type: 'xy',
      }
    })
    }
    chart
      .point()
      .position(`${plot.Xaxis}*${plot.Yaxis}`)
@@ -369,7 +374,11 @@
      .style({
        fillOpacity: 0.85
      })
    chart.interaction('legend-highlight');
    if (plot.interaction && plot.interaction.length) {
      plot.interaction.forEach(t => {
        chart.interaction(t)
      })
    }
    chart.render()
  }