forked from github/dataease
style(图表-流向地图): 添加线条粗细注释图标及标注配置文案修改
This commit is contained in:
parent
8bbe53f608
commit
9eda656e50
@ -84,7 +84,7 @@ onMounted(() => {
|
||||
<el-form ref="pointForm" :model="state.pointForm" size="small" label-position="top">
|
||||
<div style="padding-bottom: 8px">
|
||||
<el-space>
|
||||
<el-form-item class="form-item" :class="'form-item-' + themes" :label="t('chart.text')">
|
||||
<el-form-item class="form-item" :class="'form-item-' + themes" label="标注点文本">
|
||||
<el-color-picker
|
||||
:effect="themes"
|
||||
size="default"
|
||||
|
@ -2219,8 +2219,26 @@ const deleteChartFieldItem = id => {
|
||||
<!--yAxis-->
|
||||
<el-row v-if="showAxis('yAxis')" class="padding-lr drag-data">
|
||||
<div class="form-draggable-title">
|
||||
<span>
|
||||
{{ chartViewInstance.axisConfig.yAxis.name }}
|
||||
<span class="data-area-label">
|
||||
<span style="margin-right: 4px">
|
||||
{{ chartViewInstance.axisConfig.yAxis.name }}
|
||||
</span>
|
||||
<el-tooltip
|
||||
v-if="chartViewInstance.axisConfig.yAxis.tooltip"
|
||||
class="item"
|
||||
:effect="toolTip"
|
||||
placement="top"
|
||||
>
|
||||
<template #content>
|
||||
<span> {{ chartViewInstance.axisConfig.yAxis.tooltip }}</span>
|
||||
</template>
|
||||
<el-icon
|
||||
class="hint-icon"
|
||||
:class="{ 'hint-icon--dark': themes === 'dark' }"
|
||||
>
|
||||
<Icon name="icon_info_outlined" />
|
||||
</el-icon>
|
||||
</el-tooltip>
|
||||
</span>
|
||||
<el-tooltip
|
||||
:effect="toolTip"
|
||||
|
@ -57,7 +57,8 @@ export class FlowMap extends L7ChartView<Scene, L7Config> {
|
||||
yAxis: {
|
||||
name: `线条粗细 / ${t('chart.quota')}`,
|
||||
type: 'q',
|
||||
limit: 1
|
||||
limit: 1,
|
||||
tooltip: '该指标生效时,样式中线条配置的线条宽度属性将失效'
|
||||
}
|
||||
}
|
||||
constructor() {
|
||||
|
Loading…
Reference in New Issue
Block a user