mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
Merge pull request #6037 from dataease/pr@dev@fix_bar_top_label_hidden
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
dfd87aca11
@ -141,6 +141,11 @@ export function getLabel(chart) {
|
||||
if (l.position === 'inner') {
|
||||
label.offset = -10
|
||||
}
|
||||
} else if (chart.type.includes('bar')) {
|
||||
label = {
|
||||
layout: [{ type: 'limit-in-canvas' }],
|
||||
position: l.position
|
||||
}
|
||||
} else {
|
||||
label = {
|
||||
position: l.position
|
||||
|
Loading…
Reference in New Issue
Block a user