forked from github/dataease
refactor(图表): 隐藏多序列图表的自定义颜色按钮
This commit is contained in:
parent
966dbc3f9e
commit
bf4c5ac6a6
@ -1228,7 +1228,7 @@ export default {
|
||||
table_layout_tree: '树形展示',
|
||||
top_n_desc: '合并数据',
|
||||
top_n_input_1: '显示 Top',
|
||||
top_n_input_2: ', 其余合并至其他',
|
||||
top_n_input_2: ', 其余合并',
|
||||
top_n_label: '其他项名称',
|
||||
progress_target: '目标值',
|
||||
progress_current: '实际值',
|
||||
|
@ -485,7 +485,7 @@ watch(
|
||||
:change-model="chart.customStyle.xAxis"
|
||||
@modelChange="val => onChangeXAxisForm(val, 'show')"
|
||||
name="xAxis"
|
||||
:title="selectorSpec['x-axis-selector']?.title"
|
||||
:title="selectorSpec['x-axis-selector']?.title || t('chart.xAxis')"
|
||||
>
|
||||
<x-axis-selector
|
||||
class="attr-selector"
|
||||
@ -502,7 +502,7 @@ watch(
|
||||
:change-model="chart.customStyle.yAxis"
|
||||
@modelChange="val => onChangeYAxisForm(val, 'show')"
|
||||
name="yAxis"
|
||||
:title="$t('chart.yAxis')"
|
||||
:title="t('chart.yAxis')"
|
||||
>
|
||||
<y-axis-selector
|
||||
class="attr-selector"
|
||||
|
@ -238,7 +238,7 @@ const colorItemBorderColor = (index, state) => {
|
||||
<el-row>
|
||||
<el-form-item
|
||||
v-if="showProperty('gradient-color')"
|
||||
:label="$t('chart.color_case')"
|
||||
:label="t('chart.color_case')"
|
||||
class="form-item"
|
||||
:class="'form-item-' + themes"
|
||||
style="flex: 1; padding-right: 8px; margin-bottom: 16px"
|
||||
@ -342,7 +342,7 @@ const colorItemBorderColor = (index, state) => {
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="custom-color-extend-setting colors">
|
||||
<div v-if="!showProperty('seriesColor')" class="custom-color-extend-setting colors">
|
||||
<div
|
||||
v-for="(c, index) in state.basicStyleForm.colors"
|
||||
:key="index"
|
||||
|
Loading…
Reference in New Issue
Block a user