forked from github/dataease
refactor: 视图坐标轴标签角度设置位置调整
This commit is contained in:
parent
4a5f868090
commit
5c8b4f2cff
@ -823,7 +823,8 @@ export default {
|
|||||||
map_range: 'Map range',
|
map_range: 'Map range',
|
||||||
select_map_range: 'Please select map range',
|
select_map_range: 'Please select map range',
|
||||||
area: 'Area',
|
area: 'Area',
|
||||||
placeholder_field: 'Drag Field To Here'
|
placeholder_field: 'Drag Field To Here',
|
||||||
|
axis_label_rotate: 'Label Rotate'
|
||||||
},
|
},
|
||||||
dataset: {
|
dataset: {
|
||||||
sheet_warn: 'There are multiple sheet pages, and the first one is extracted by default',
|
sheet_warn: 'There are multiple sheet pages, and the first one is extracted by default',
|
||||||
|
@ -823,7 +823,8 @@ export default {
|
|||||||
select_map_range: '請選擇地圖範圍',
|
select_map_range: '請選擇地圖範圍',
|
||||||
area: '地區',
|
area: '地區',
|
||||||
stack_item: '堆疊項',
|
stack_item: '堆疊項',
|
||||||
placeholder_field: '拖動字段至此處'
|
placeholder_field: '拖動字段至此處',
|
||||||
|
axis_label_rotate: '標簽角度'
|
||||||
},
|
},
|
||||||
dataset: {
|
dataset: {
|
||||||
sheet_warn: '有多個sheet頁面,默認抽取第一個',
|
sheet_warn: '有多個sheet頁面,默認抽取第一個',
|
||||||
|
@ -823,7 +823,8 @@ export default {
|
|||||||
select_map_range: '请选择地图范围',
|
select_map_range: '请选择地图范围',
|
||||||
area: '地区',
|
area: '地区',
|
||||||
stack_item: '堆叠项',
|
stack_item: '堆叠项',
|
||||||
placeholder_field: '拖动字段至此处'
|
placeholder_field: '拖动字段至此处',
|
||||||
|
axis_label_rotate: '标签角度'
|
||||||
},
|
},
|
||||||
dataset: {
|
dataset: {
|
||||||
sheet_warn: '有多个 Sheet 页,默认抽取第一个',
|
sheet_warn: '有多个 Sheet 页,默认抽取第一个',
|
||||||
|
@ -15,13 +15,10 @@
|
|||||||
<el-form-item :label="$t('chart.name')" class="form-item">
|
<el-form-item :label="$t('chart.name')" class="form-item">
|
||||||
<el-input v-model="axisForm.name" size="mini" @blur="changeXAxisStyle" />
|
<el-input v-model="axisForm.name" size="mini" @blur="changeXAxisStyle" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('chart.rotate')" class="form-item form-item-slider">
|
|
||||||
<el-slider v-model="axisForm.axisLabel.rotate" show-input :show-input-controls="false" :min="-90" :max="90" input-size="mini" @change="changeXAxisStyle" />
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item :label="$t('chart.axis_name_color')" class="form-item">
|
<el-form-item :label="$t('chart.axis_name_color')" class="form-item">
|
||||||
<el-color-picker v-model="axisForm.nameTextStyle.color" class="color-picker-style" @change="changeXAxisStyle" />
|
<el-color-picker v-model="axisForm.nameTextStyle.color" class="color-picker-style" @change="changeXAxisStyle" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('chart.axis_name_fontsize')" class="form-item form-item-slider">
|
<el-form-item :label="$t('chart.axis_name_fontsize')" class="form-item">
|
||||||
<el-select v-model="axisForm.nameTextStyle.fontSize" :placeholder="$t('chart.axis_name_fontsize')" @change="changeXAxisStyle">
|
<el-select v-model="axisForm.nameTextStyle.fontSize" :placeholder="$t('chart.axis_name_fontsize')" @change="changeXAxisStyle">
|
||||||
<el-option v-for="option in fontSize" :key="option.value" :label="option.name" :value="option.value" />
|
<el-option v-for="option in fontSize" :key="option.value" :label="option.name" :value="option.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -53,7 +50,10 @@
|
|||||||
<el-form-item :label="$t('chart.axis_label_color')" class="form-item">
|
<el-form-item :label="$t('chart.axis_label_color')" class="form-item">
|
||||||
<el-color-picker v-model="axisForm.axisLabel.color" class="el-color-picker" @change="changeXAxisStyle" />
|
<el-color-picker v-model="axisForm.axisLabel.color" class="el-color-picker" @change="changeXAxisStyle" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('chart.axis_label_fontsize')" class="form-item form-item-slider">
|
<el-form-item :label="$t('chart.axis_label_rotate')" class="form-item form-item-slider">
|
||||||
|
<el-slider v-model="axisForm.axisLabel.rotate" show-input :show-input-controls="false" :min="-90" :max="90" input-size="mini" @change="changeXAxisStyle" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('chart.axis_label_fontsize')" class="form-item">
|
||||||
<el-select v-model="axisForm.axisLabel.fontSize" :placeholder="$t('chart.axis_label_fontsize')" @change="changeXAxisStyle">
|
<el-select v-model="axisForm.axisLabel.fontSize" :placeholder="$t('chart.axis_label_fontsize')" @change="changeXAxisStyle">
|
||||||
<el-option v-for="option in fontSize" :key="option.value" :label="option.name" :value="option.value" />
|
<el-option v-for="option in fontSize" :key="option.value" :label="option.name" :value="option.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
|
@ -15,13 +15,10 @@
|
|||||||
<el-form-item :label="$t('chart.name')" class="form-item">
|
<el-form-item :label="$t('chart.name')" class="form-item">
|
||||||
<el-input v-model="axisForm.name" size="mini" @blur="changeYAxisStyle" />
|
<el-input v-model="axisForm.name" size="mini" @blur="changeYAxisStyle" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('chart.rotate')" class="form-item form-item-slider">
|
|
||||||
<el-slider v-model="axisForm.axisLabel.rotate" show-input :show-input-controls="false" :min="-90" :max="90" input-size="mini" @change="changeYAxisStyle" />
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item :label="$t('chart.axis_name_color')" class="form-item">
|
<el-form-item :label="$t('chart.axis_name_color')" class="form-item">
|
||||||
<el-color-picker v-model="axisForm.nameTextStyle.color" class="color-picker-style" @change="changeYAxisStyle" />
|
<el-color-picker v-model="axisForm.nameTextStyle.color" class="color-picker-style" @change="changeYAxisStyle" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('chart.axis_name_fontsize')" class="form-item form-item-slider">
|
<el-form-item :label="$t('chart.axis_name_fontsize')" class="form-item">
|
||||||
<el-select v-model="axisForm.nameTextStyle.fontSize" :placeholder="$t('chart.axis_name_fontsize')" @change="changeYAxisStyle">
|
<el-select v-model="axisForm.nameTextStyle.fontSize" :placeholder="$t('chart.axis_name_fontsize')" @change="changeYAxisStyle">
|
||||||
<el-option v-for="option in fontSize" :key="option.value" :label="option.name" :value="option.value" />
|
<el-option v-for="option in fontSize" :key="option.value" :label="option.name" :value="option.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -53,7 +50,10 @@
|
|||||||
<el-form-item :label="$t('chart.axis_label_color')" class="form-item">
|
<el-form-item :label="$t('chart.axis_label_color')" class="form-item">
|
||||||
<el-color-picker v-model="axisForm.axisLabel.color" class="el-color-picker" @change="changeYAxisStyle" />
|
<el-color-picker v-model="axisForm.axisLabel.color" class="el-color-picker" @change="changeYAxisStyle" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('chart.axis_label_fontsize')" class="form-item form-item-slider">
|
<el-form-item :label="$t('chart.axis_label_rotate')" class="form-item form-item-slider">
|
||||||
|
<el-slider v-model="axisForm.axisLabel.rotate" show-input :show-input-controls="false" :min="-90" :max="90" input-size="mini" @change="changeYAxisStyle" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('chart.axis_label_fontsize')" class="form-item">
|
||||||
<el-select v-model="axisForm.axisLabel.fontSize" :placeholder="$t('chart.axis_label_fontsize')" @change="changeYAxisStyle">
|
<el-select v-model="axisForm.axisLabel.fontSize" :placeholder="$t('chart.axis_label_fontsize')" @change="changeYAxisStyle">
|
||||||
<el-option v-for="option in fontSize" :key="option.value" :label="option.name" :value="option.value" />
|
<el-option v-for="option in fontSize" :key="option.value" :label="option.name" :value="option.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
|
Loading…
Reference in New Issue
Block a user