You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "WkKyo1024 (via GitHub)" <gi...@apache.org> on 2025/05/06 06:55:05 UTC

[I] [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) [echarts]

WkKyo1024 opened a new issue, #20955:
URL: https://github.com/apache/echarts/issues/20955

   ### Version
   
   >=5.4.3
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=sankey-simple
   
   ### Steps to Reproduce
   
   [error-sankey-options.txt](https://github.com/user-attachments/files/20053729/error-sankey-options.txt)
   Paste the options configuration in the link address into the official example
   
   emphasis: {
       focus: 'adjacency', // success
       // focus: 'trajectory', // error
       blurScope: 'coordinateSystem'
   }
   
   Setting "focus" to "trajectory" will cause the page to crash
   (中文: 把链接地址里的options配置粘贴到官方示例里
   emphasis: {
     focus: 'adjacency', // success
     // focus: 'trajectory', // error
     blurScope: 'coordinateSystem'
   }
   focus设置为'trajectory'会导致页面崩溃)
   
   
   ### Current Behavior
   
   The nodes and links provided in the file can cause problems to occur(中文: 文件里提供的nodes和links会导致问题出现)
   
   ### Expected Behavior
   
   focus: Setting it as trajectory should not cause the page to crash. Although other data may be fine, the data I provided has this bug(中文: focus:设置为trajectory不应该导致页面崩溃,虽然别的数据可能没有问题,但是我提供的数据是有这个bug的)
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   _No response_


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #20955:
URL: https://github.com/apache/echarts/issues/20955#issuecomment-2853466716

   @WkKyo1024 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to Chinese trajectory
   </details>


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) [echarts]

Posted by "Ovilia (via GitHub)" <gi...@apache.org>.
Ovilia commented on issue #20955:
URL: https://github.com/apache/echarts/issues/20955#issuecomment-2854091392

   I think Sankey series is not expected to use so much data. If this is not a problem caused by using too much data, please provide a demo with minial data.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) [echarts]

Posted by "WkKyo1024 (via GitHub)" <gi...@apache.org>.
WkKyo1024 commented on issue #20955:
URL: https://github.com/apache/echarts/issues/20955#issuecomment-2862151255

   May I ask if this bug has been fixed successfully? If successful, could you provide a compiled echarts.js?


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) [echarts]

Posted by "WkKyo1024 (via GitHub)" <gi...@apache.org>.
WkKyo1024 commented on issue #20955:
URL: https://github.com/apache/echarts/issues/20955#issuecomment-2854214248

   It's not a problem caused by excessive data. Data with more than this can also be displayed. I guess it's related to links, but I have no idea what kind of links data would have the same problem! I don't know what pattern could cause this bug, but it does exist!


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) [echarts]

Posted by "WkKyo1024 (via GitHub)" <gi...@apache.org>.
WkKyo1024 commented on issue #20955:
URL: https://github.com/apache/echarts/issues/20955#issuecomment-2862155380

   https://github.com/apache/echarts/pull/20959#issuecomment-2861728186
   Is this the effect after the repair? I tried the above txt data, but there were still errors


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #20955:
URL: https://github.com/apache/echarts/issues/20955#issuecomment-2862235051

   @WkKyo1024 这个 ECharts Preview 目前不能用,实际上运行的还是 5.6.0,可以下载到本地测试 https://echarts-pr-20959.surge.sh/dist/echarts.js


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) [echarts]

Posted by "100pah (via GitHub)" <gi...@apache.org>.
100pah closed issue #20955: [Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候)
URL: https://github.com/apache/echarts/issues/20955


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org