king
2021-06-29 3f85ff9067b806df7848ce7b852ff357a7bac7f5
src/tabviews/custom/components/chart/antv-bar-line/index.jsx
@@ -925,7 +925,7 @@
    } else {
      _chart.color(_typefield)
    }
    if (plot.label === 'true') {
    if (plot.label !== 'false') {
      _chart.label(_valfield, (value) => {
        if (plot.show === 'percent') {
          value = value + '%'
@@ -1160,7 +1160,7 @@
        } else {
          _chart.color('key')
        }
        if (plot.label === 'true') {
        if (plot.label !== 'false') {
          _chart.label('value*key', (value, key) => {
            if (plot.show === 'percent') {
              value = value + '%'
@@ -1211,7 +1211,7 @@
        } else {
          _chart.color('key')
        }
        if (plot.label === 'true') {
        if (plot.label !== 'false') {
          _chart.label('value*key', (value, key) => {
            if (plot.show === 'percent') {
              value = value + '%'
@@ -1269,7 +1269,7 @@
        if (plot.barSize) {
          _chart.size(plot.barSize || 35)
        }
        if (item.label === 'true') {
        if (item.label !== 'false') {
          _chart.label(item.name, (value) => {
            if (plot.show === 'percent') {
              value = value + '%'
@@ -1514,7 +1514,7 @@
      } else {
        _chart.color(_typefield)
      }
      if (plot.label === 'true') {
      if (plot.label !== 'false') {
        _chart.label(`${_valfield}*${_typefield}`, (value, key) => {
          if (plot.show === 'percent') {
            value = value + '%'
@@ -1572,7 +1572,7 @@
      } else {
        _chart.color(_typefield)
      }
      if (plot.label === 'true') {
      if (plot.label !== 'false') {
        _chart.label(`${_valfield}*${_typefield}`, (value, key) => {
          if (plot.show === 'percent') {
            value = value + '%'