fix(视图-饼图/环形图): 限制标签显示在视图内部。#6626
This commit is contained in:
parent
380d89086b
commit
788fb97d02
@ -128,6 +128,9 @@ export function getLabel(chart) {
|
||||
}
|
||||
if (l.position === 'outer') {
|
||||
label.type = 'spider'
|
||||
label.layout = [
|
||||
{ type: 'limit-in-plot' }
|
||||
]
|
||||
}
|
||||
} else if (chart.type.includes('line') || chart.type.includes('area')) {
|
||||
label = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user