diff --git a/src/chart/helper/Symbol.js b/src/chart/helper/Symbol.js index 8d6943fd25..8499c44196 100644 --- a/src/chart/helper/Symbol.js +++ b/src/chart/helper/Symbol.js @@ -238,7 +238,7 @@ symbolProto._updateCommon = function (data, idx, symbolSize, seriesScope) { } else { symbolPath.setStyle({ - opacity: null, + opacity: 1, shadowBlur: null, shadowOffsetX: null, shadowOffsetY: null, @@ -394,4 +394,4 @@ symbolProto.fadeOut = function (cb, opt) { zrUtil.inherits(SymbolClz, graphic.Group); -export default SymbolClz; \ No newline at end of file +export default SymbolClz; diff --git a/src/chart/tree/TreeView.js b/src/chart/tree/TreeView.js index 6662eaca88..9dbf2af1e5 100644 --- a/src/chart/tree/TreeView.js +++ b/src/chart/tree/TreeView.js @@ -637,4 +637,4 @@ function getEdgeShape(seriesScope, sourceLayout, targetLayout) { cpy2: cpy2 }; -} \ No newline at end of file +} diff --git a/test/tree-image2.html b/test/tree-image2.html new file mode 100644 index 0000000000..87aa373a3d --- /dev/null +++ b/test/tree-image2.html @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + +
+ + + \ No newline at end of file