Skip to content
Permalink
Browse files
Merge pull request #10123 from deqingli/master
Fixes #10088
  • Loading branch information
deqingli committed Mar 18, 2019
2 parents 767de84 + 3c4926f commit 322727f20a44bf617adf7dbe3bb48f3befde9361
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -212,7 +212,7 @@ piePieceProto._updateLabel = function (data, idx) {
var labelLayout = layout.label;
var visualColor = data.getItemVisual(idx, 'color');

if (!labelLayout) {
if (!labelLayout || isNaN(labelLayout.x) || isNaN(labelLayout.y)) {
labelText.ignore = labelText.normalIgnore = labelText.hoverIgnore =
labelLine.ignore = labelLine.normalIgnore = labelLine.hoverIgnore = true;
return;
@@ -90,7 +90,7 @@
legend: {
orient: 'vertical',
left: 'left',
data: ['直接访问','邮件营销','联盟广告','视频广告','搜索引擎']
data: ['直接访问','邮件营销','联盟广告','视频广告(value is null)','搜索引擎']
},
series : [
{
@@ -102,7 +102,7 @@
{value:335, name:'直接访问'},
{value:310, name:'邮件营销'},
{value:234, name:'联盟广告'},
{value:135, name:'视频广告'},
{value:null, name:'视频广告(value is null)'},
{value:1548, name:'搜索引擎'}
],
itemStyle: {

0 comments on commit 322727f

Please sign in to comment.