echarts icon indicating copy to clipboard operation
echarts copied to clipboard

echarts树图的bug

Open soopencool opened this issue 4 years ago • 4 comments

Version

4.8.0

Reproduction link

https://echarts.apache.org/examples/zh/editor.html?c=tree-polyline

Steps to reproduce

你们不充许放截图,截图就一目了然了。

var data = {
    "name": "flare",
    "children": [
        {
            "name": "data",
           /* "children": [先保留这段代码,然再注释这段代码(其他的化data多余的代码都去除,再注释这段才会看到效果),这里显示图就不正确了,有一些多余的线段
                {
                    "name": "converters",
                    "children": [
                        {"name": "Converters", "value": 721},
                        {"name": "DelimitedTextConverter", "value": 4294}
                    ]
                },
                {
                    "name": "DataUtil",
                    "value": 3322
                }
            ]*/
        }
    ]
};

What is expected?

正确显示(没有多余的线段)

What is actually happening?

有多余的线段


当children有多个节点时,突然把这个children清空了,就会出现这种情况

soopencool avatar May 27 '20 03:05 soopencool

可以放截图

pissang avatar May 27 '20 03:05 pissang

重现步骤那写清楚了,不放截图,应该你们也能复现出来了,确定有这个bug

------------------ 原始邮件 ------------------ 发件人: "Yi Shen"<[email protected]>; 发送时间: 2020年5月27日(星期三) 中午11:29 收件人: "apache/incubator-echarts"<[email protected]>; 抄送: "453336456"<[email protected]>;"Author"<[email protected]>; 主题: Re: [apache/incubator-echarts] echarts树图的bug (#12706)

可以放截图

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

soopencool avatar May 27 '20 07:05 soopencool

可以放截图

image

重现了下,还没来得及看为啥。。

wf123537200 avatar May 27 '20 08:05 wf123537200

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Aug 04 '22 21:08 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Aug 12 '22 21:08 github-actions[bot]