king
2022-05-14 e44c622efee02beafab30da2a91561e8892e26ef
src/tabviews/custom/components/chart/antv-bar-line/index.jsx
@@ -296,8 +296,12 @@
          marker: { symbol: item.chartType === 'bar' ? 'square' : 'hyphen', style: { stroke: item.color,fill: item.color, r: 5, lineWidth: 2 } }
        })
        if ((!_config.plot.Bar_axis || item.chartType !== 'bar') && item.show) { // 折线图或重叠下的柱状图可单独设置显示类型
          vFieldsShow[item.type] = item.show
        if (!_config.plot.Bar_axis || item.chartType !== 'bar') { // 折线图或重叠下的柱状图可单独设置显示类型
          if (item.show) {
            vFieldsShow[item.type] = item.show
          } else {
            item.show = _config.plot.show
          }
        }
      })
      _config.plot.customs = fields
@@ -309,6 +313,7 @@
        }
      })
    }
    console.log(vFields)
    this.setState({
      config: _config,