src/tabviews/zshare/chartcomponent/index.jsx
@@ -722,7 +722,7 @@ } if (plot.adjust !== 'stack') { chart let _chart = chart .interval() .position(`${plot.Xaxis}*${_valfield}`) .color(_typefield) @@ -733,13 +733,21 @@ } ]) .shape(plot.shape || 'rect') if (plot.label === 'true') { _chart.label(_valfield) } } else if (plot.adjust === 'stack') { chart let _chart = chart .interval() .position(`${plot.Xaxis}*${_valfield}`) .color(_typefield) .adjust('stack') .shape(plot.shape || 'rect') if (plot.label === 'true') { _chart.label(_valfield) } } chart.render()