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