未验证 提交 322727f2 编写于 作者: A abigale Li 提交者: GitHub

Merge pull request #10123 from deqingli/master

Fixes #10088
......@@ -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 @@ under the License.
legend: {
orient: 'vertical',
left: 'left',
data: ['直接访问','邮件营销','联盟广告','视频广告','搜索引擎']
data: ['直接访问','邮件营销','联盟广告','视频广告(value is null)','搜索引擎']
},
series : [
{
......@@ -102,7 +102,7 @@ under the License.
{value:335, name:'直接访问'},
{value:310, name:'邮件营销'},
{value:234, name:'联盟广告'},
{value:135, name:'视频广告'},
{value:null, name:'视频广告(value is null)'},
{value:1548, name:'搜索引擎'}
],
itemStyle: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册