forked from github/dataease
parent
3457b4acf7
commit
40877397f0
@ -31,7 +31,9 @@ public class StackMixHandler extends MixHandler {
|
||||
axisMap.put(ChartAxis.yAxisExt, view.getYAxisExt());
|
||||
//去除除了x轴以外的排序
|
||||
axisMap.forEach((k, v) -> {
|
||||
v.forEach(x -> x.setSort("none"));
|
||||
if (!ChartAxis.extStack.equals(k)) {
|
||||
v.forEach(x -> x.setSort("none"));
|
||||
}
|
||||
});
|
||||
axisMap.put(ChartAxis.extLabel, view.getExtLabel());
|
||||
axisMap.put(ChartAxis.extTooltip, view.getExtTooltip());
|
||||
|
@ -235,7 +235,8 @@ onMounted(() => {
|
||||
@click.prevent
|
||||
v-if="
|
||||
!chart.type.includes('chart-mix') ||
|
||||
(chart.type.includes('chart-mix') && type === 'dimension')
|
||||
(chart.type.includes('chart-mix') &&
|
||||
(type === 'dimension' || type === 'dimensionStack'))
|
||||
"
|
||||
>
|
||||
<el-dropdown
|
||||
@ -321,7 +322,8 @@ onMounted(() => {
|
||||
v-if="item.deType === 1"
|
||||
:divided="
|
||||
!chart.type.includes('chart-mix') ||
|
||||
(chart.type.includes('chart-mix') && type === 'dimension')
|
||||
(chart.type.includes('chart-mix') &&
|
||||
(type === 'dimension' || type === 'dimensionStack'))
|
||||
"
|
||||
>
|
||||
<el-dropdown
|
||||
@ -519,7 +521,8 @@ onMounted(() => {
|
||||
class="menu-item-padding"
|
||||
:divided="
|
||||
!chart.type.includes('chart-mix') ||
|
||||
(chart.type.includes('chart-mix') && type === 'dimension')
|
||||
(chart.type.includes('chart-mix') &&
|
||||
(type === 'dimension' || type === 'dimensionStack'))
|
||||
"
|
||||
:command="beforeClickItem('rename')"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user