feat:antv

This commit is contained in:
junjie 2021-10-15 16:49:15 +08:00
parent 41d42372f8
commit 5be5814f7d

View File

@ -31,6 +31,17 @@ export function basePieOptionAntV(plot, container, chart, action) {
pieStyle: { pieStyle: {
lineWidth: 0 lineWidth: 0
}, },
statistic: {
title: false,
content: {
style: {
whiteSpace: 'pre-wrap',
overflow: 'hidden',
textOverflow: 'ellipsis'
},
content: ''
}
},
interactions: [ interactions: [
{ {
type: 'element-active', cfg: { type: 'element-active', cfg: {
@ -107,6 +118,17 @@ export function basePieRoseOptionAntV(plot, container, chart, action) {
label: label, label: label,
tooltip: tooltip, tooltip: tooltip,
legend: legend, legend: legend,
statistic: {
title: false,
content: {
style: {
whiteSpace: 'pre-wrap',
overflow: 'hidden',
textOverflow: 'ellipsis'
},
content: ''
}
},
interactions: [ interactions: [
{ {
type: 'element-active', cfg: { type: 'element-active', cfg: {