From 5074b63cb900b228e4dc105697e0b82e90fc0c88 Mon Sep 17 00:00:00 2001 From: yufeng04 Date: Tue, 26 Feb 2019 17:03:20 +0800 Subject: [PATCH 1/3] fix bug #9563 --- src/chart/sunburst/SunburstPiece.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart/sunburst/SunburstPiece.js b/src/chart/sunburst/SunburstPiece.js index c7b73b5714..c5b9b80992 100644 --- a/src/chart/sunburst/SunburstPiece.js +++ b/src/chart/sunburst/SunburstPiece.js @@ -203,7 +203,7 @@ SunburstPieceProto._updateLabel = function (seriesModel, visualColor, state) { var text = zrUtil.retrieve( seriesModel.getFormattedLabel( - this.node.dataIndex, 'normal', null, null, 'label' + this.node.dataIndex, status, null, null, 'label' ), this.node.name ); From a48942a1bfbde7502c08e4248ac390fd5afa4319 Mon Sep 17 00:00:00 2001 From: yufeng04 Date: Tue, 26 Feb 2019 17:28:38 +0800 Subject: [PATCH 2/3] Modify clerical error --- src/chart/sunburst/SunburstPiece.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart/sunburst/SunburstPiece.js b/src/chart/sunburst/SunburstPiece.js index c5b9b80992..4c920c100c 100644 --- a/src/chart/sunburst/SunburstPiece.js +++ b/src/chart/sunburst/SunburstPiece.js @@ -203,7 +203,7 @@ SunburstPieceProto._updateLabel = function (seriesModel, visualColor, state) { var text = zrUtil.retrieve( seriesModel.getFormattedLabel( - this.node.dataIndex, status, null, null, 'label' + this.node.dataIndex, state, null, null, 'label' ), this.node.name ); From 255b09896f38560159c33a47c6f954992d53e306 Mon Sep 17 00:00:00 2001 From: yufeng04 Date: Tue, 19 Mar 2019 14:41:17 +0800 Subject: [PATCH 3/3] fix bug #9704 --- src/model/mixin/lineStyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/mixin/lineStyle.js b/src/model/mixin/lineStyle.js index 868e7d82c3..f6ad40694a 100644 --- a/src/model/mixin/lineStyle.js +++ b/src/model/mixin/lineStyle.js @@ -46,7 +46,7 @@ export default { var lineType = this.get('type'); var dotSize = Math.max(lineWidth, 2); var dashSize = lineWidth * 4; - return (lineType === 'solid' || lineType == null) ? null + return (lineType === 'solid' || lineType == null) ? [0, 0] : (lineType === 'dashed' ? [dashSize, dashSize] : [dotSize, dotSize]); } }; \ No newline at end of file