diff --git a/src/chart/bar/BarView.ts b/src/chart/bar/BarView.ts index 2b2e7f2a8c97f90bbb7cffcb458bd537353d5347..617a55420355371dd5673c1ec1281f9aa4c90a5b 100644 --- a/src/chart/bar/BarView.ts +++ b/src/chart/bar/BarView.ts @@ -704,8 +704,8 @@ function removeRect( // Not show text when animating el.removeTextContent(); updateProps(el, { - shape: { - width: 0 + style: { + opacity: 0 } }, animationModel, dataIndex, function () { el.parent && el.parent.remove(el); @@ -720,8 +720,8 @@ function removeSector( // Not show text when animating el.removeTextContent(); updateProps(el, { - shape: { - r: el.shape.r0 + style: { + opacity: 0 } }, animationModel, dataIndex, function () { el.parent && el.parent.remove(el);