feat: 气泡图优化

This commit is contained in:
junjie 2021-08-18 16:33:28 +08:00
parent e6e8d1db46
commit 3bf998e190
2 changed files with 7 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export function baseScatterOption(chart_option, chart) {
}
const funcSize = function(data) {
const k = 100
const k = 80
const max = Math.max(...bubbleArray)
return (data[2] / max) * k
}

View File

@ -338,6 +338,12 @@
<span>{{ $t('chart.bubble_size') }}</span>
/
<span>{{ $t('chart.quota') }}</span>
<el-tooltip class="item" effect="dark" placement="bottom">
<div slot="content">
该指标生效时样式大小中的气泡大小属性将失效
</div>
<i class="el-icon-info" style="cursor: pointer;color: #606266;" />
</el-tooltip>
</span>
<draggable
v-model="view.extBubble"