king
2022-11-14 5ec0f02101cb4255c6398856bbf17a2a0b2c9a7e
src/tabviews/custom/components/chart/antv-scatter/index.jsx
@@ -64,7 +64,9 @@
      _sync = false
    }
    _config.style.height = config.plot.height || 400
    _config.plot.height = Utils.getHeight(_config.plot.height)
    _config.style.height = 'auto'
    _config.style.minHeight = _config.plot.height
    this.setState({
      config: _config,
@@ -307,7 +309,7 @@
    const chart = new Chart({
      container: chartId,
      autoFit: true,
      height: this.wrap.offsetHeight - 25
      height: plot.height
    })
    chart.data(data);
@@ -422,7 +424,7 @@
          </div> : null
        }
        <NormalHeader config={config} BID={BID} refresh={this.refreshSearch} />
        <div className="canvas-wrap" ref={ref => this.wrap = ref}>
        <div className="canvas-wrap">
          {config.plot.download === 'enable' && this.state.chart && !empty ? <DownloadOutlined onClick={this.downloadImage} className="system-color download"/> : null}
          <div className={'chart-action' + (config.plot.download === 'enable' ? ' downable' : '')}>
            {config.action.map(item => {