king
2021-04-17 ada653685c62e55b2d293f93470eaad59fb5cafb
src/tabviews/custom/components/chart/antv-bar-line/index.jsx
@@ -104,11 +104,7 @@
      _config.plot.height = _config.plot.height - 30
    }
    if (_config.style) {
      _config.style = {..._config.style, minHeight: (config.plot.height || 400)}
    } else {
      _config.style = {minHeight: (config.plot.height || 400)}
    }
    _config.style.height = config.plot.height || 400
    let transfield = {}
    _config.columns.forEach(col => {
@@ -1055,6 +1051,9 @@
            }
          })
        }
        if (plot.barRadius) {
          _chart.style({ radius: [plot.barRadius, plot.barRadius, 0, 0] })
        }
      } else if (item.chartType === 'line') {
        let _chart = chart
          .line()
@@ -1277,6 +1276,9 @@
      if (plot.barSize || plot.correction) {
        _chart.size(plot.barSize || 35)
      }
      if (plot.barRadius) {
        _chart.style({ radius: [plot.barRadius, plot.barRadius, 0, 0] })
      }
    } else if (plot.adjust === 'stack') {
      let _chart = chart
        .interval()
@@ -1320,6 +1322,9 @@
      if (plot.barSize || plot.correction) {
        _chart.size(plot.barSize || 35)
      }
      if (plot.barRadius) {
        _chart.style({ radius: [plot.barRadius, plot.barRadius, 0, 0] })
      }
    }
    if (plot.linkmenu && plot.linkmenu.length > 0) {