116050423 commented on a change in pull request #16229:
URL: https://github.com/apache/echarts/pull/16229#discussion_r771097386
##########
File path: test/pie-label.html
##########
@@ -770,5 +771,37 @@
});
</script>
+
+ <script>
+ require([
+ 'echarts'/*, 'map/js/china' */
+ ], function (echarts) {
+ const option = {
+ series: [
+ {
+ name: 'Access From',
+ type: 'pie',
+ radius: 50,
+ data: [
+ { value: 1, name: 'Search Engine' },
+ { value: 0, name: 'Direct' },
+ { value: 0, name: 'Union Ads' },
+ { value: 1, name: 'Video Ads' }
+ ],
+ label: {
+ show: true
+ },
+ }
+ ]
+ };
+
+ var chart = testHelper.create(echarts, 'main9', {
+ title: 'the first label shoud be rendered correctly when
it\'s followed by several zero values',
Review comment:
@pissang It's done, please review again, thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]