king
2020-11-12 f830c733cbc071f023c9a9a4e1571b7c81d672bf
src/menu/components/chart/antv-bar/index.jsx
@@ -44,6 +44,7 @@
        customs: [],
        width: 24,
        height: 400,
        barSize: 35,
        name: card.name
      }
@@ -601,6 +602,10 @@
        if (plot.label === 'true') {
          _chart.label('value')
        }
        if (plot.barSize || plot.correction) {
          _chart.size(plot.barSize || 35)
        }
      } else if (plot.adjust === 'stack') {
        let _chart = chart
          .interval()
@@ -611,6 +616,10 @@
  
        if (plot.label === 'true') {
          _chart.label('value')
        }
        if (plot.barSize || plot.correction) {
          _chart.size(plot.barSize || 35)
        }
      }
  
@@ -750,7 +759,7 @@
          <div className="mk-popover-control">
            {menu && menu.MenuType !== 'billPrint' ? <Icon className="plus" title="添加搜索" onClick={this.addSearch} type="plus-circle" /> : null}
            {menu && menu.MenuType !== 'billPrint' ? <Icon className="plus" title="添加按钮" onClick={this.addButton} type="plus-square" /> : null}
            {menu ? <ChartCompileForm config={card} sysRoles={menu.sysRoles} dict={this.state.dict} plotchange={this.updateComponent}/> : null}
            {menu ? <ChartCompileForm config={card} sysRoles={menu.sysRoles} MenuType={menu.MenuType} dict={this.state.dict} plotchange={this.updateComponent}/> : null}
            <Icon className="style" title="调整样式" onClick={this.changeStyle} type="font-colors" />
            <Icon className="close" title="delete" type="delete" onClick={() => this.props.deletecomponent(card.uuid)} />
            <SettingComponent config={card} updateConfig={this.updateComponent}/>