forked from github/dataease
Merge pull request #661 from dataease/pr@dev@feat_chart_refactor
feat: 气泡图优化
This commit is contained in:
commit
d92f08242a
@ -59,7 +59,7 @@ export function baseScatterOption(chart_option, chart) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const funcSize = function(data) {
|
const funcSize = function(data) {
|
||||||
const k = 100
|
const k = 80
|
||||||
const max = Math.max(...bubbleArray)
|
const max = Math.max(...bubbleArray)
|
||||||
return (data[2] / max) * k
|
return (data[2] / max) * k
|
||||||
}
|
}
|
||||||
|
@ -338,6 +338,12 @@
|
|||||||
<span>{{ $t('chart.bubble_size') }}</span>
|
<span>{{ $t('chart.bubble_size') }}</span>
|
||||||
/
|
/
|
||||||
<span>{{ $t('chart.quota') }}</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>
|
</span>
|
||||||
<draggable
|
<draggable
|
||||||
v-model="view.extBubble"
|
v-model="view.extBubble"
|
||||||
|
Loading…
Reference in New Issue
Block a user