mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 12:22:10 +08:00
style(图表): 优化水波图标签显示样式
This commit is contained in:
committed by
jianneng-fit2cloud
parent
e16e710566
commit
05e1d0be1a
@@ -561,6 +561,7 @@ const isProgressBar = computed(() => {
|
||||
:predefine="COLOR_PANEL"
|
||||
@change="changeLabelAttr('color')"
|
||||
is-custom
|
||||
show-alpha
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
|
||||
@@ -175,14 +175,12 @@ export class Liquid extends G2PlotChartView<LiquidOptions, G2Liquid> {
|
||||
fontSize: label.fontSize.toString() + 'px',
|
||||
color: label.color,
|
||||
lineHeight: '"unset"',
|
||||
overflow: 'visible'
|
||||
overflow: 'visible',
|
||||
opacity: 1
|
||||
}
|
||||
const title = label.showQuota
|
||||
? {
|
||||
style: {
|
||||
...style,
|
||||
fontWeight: 'blod'
|
||||
},
|
||||
style,
|
||||
formatter: () => {
|
||||
return valueFormatter(chart.data.series[0].data[0], label.quotaLabelFormatter)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user