forked from github/dataease
refactor: 折线图标签优化
This commit is contained in:
parent
9ceb19d70e
commit
62cb866a35
@ -112,7 +112,13 @@ export function getLabel(chart) {
|
||||
if (l.show) {
|
||||
if (chart.type === 'pie') {
|
||||
label = {
|
||||
type: l.position
|
||||
type: l.position,
|
||||
autoRotate: false
|
||||
}
|
||||
} else if (chart.type.includes('line')) {
|
||||
label = {
|
||||
position: l.position,
|
||||
offsetY: -8
|
||||
}
|
||||
} else {
|
||||
label = {
|
||||
|
Loading…
Reference in New Issue
Block a user