You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "Manahil-Afzal (via GitHub)" <gi...@apache.org> on 2026/01/13 16:33:08 UTC

[I] Sankey nodeAlign examples have inconsistent titles and alignment behavior [echarts]

Manahil-Afzal opened a new issue, #21470:
URL: https://github.com/apache/echarts/issues/21470

   ### Version
   
   5.5.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=sankey-nodeAlign-left https://echarts.apache.org/examples/en/editor.html?c=sankey-nodeAlign-right
   
   ### Steps to Reproduce
   
   1. Open the ECharts Official Editor for `sankey-nodeAlign-left` or `sankey-nodeAlign-right`.
   2. Observe the chart title and node alignment.
   3. Compare nodeAlign value in code vs. displayed title.
   4. Notice the mismatch: right-aligned nodes are labeled as "Node Align Left" and left-aligned nodes are labeled as "Node Align Right".
   
   
   ### Current Behavior
   
   - `sankey-nodeAlign-right` uses nodeAlign: "right" but title shows "Node Align Left".
   - `sankey-nodeAlign-left` uses nodeAlign: "left" but title shows "Node Align Right".
   - The visual alignment does not match the title or file name.
   
   
   ### Expected Behavior
   
   - `sankey-nodeAlign-right` should have nodeAlign: "right" and title: "Node Align Right".
   - `sankey-nodeAlign-left` should have nodeAlign: "left" and title: "Node Align Left".
   - File name, title, and node alignment should be consistent.
   
   
   ### Environment
   
   ```markdown
   - OS: Any (tested on Windows 10)
   - Browser: Chrome 109
   - Framework: None (pure JS/HTML)
   ```
   
   ### Any additional comments?
   
   The Sankey nodeAlign demo examples currently violate their own semantic contract: the file name, chart title, and demonstrated behavior do not describe the same thing.
   
   In particular:
   
   sankey-nodeAlign-right:
   
   ![Image](https://github.com/user-attachments/assets/faaf7562-6f08-4023-afd5-587c7fcde6cb)
   nodeAlign: "right"
   Title: “Node Align Left”
   
   sankey-nodeAlign-left:
   
   ![Image](https://github.com/user-attachments/assets/bcbe4691-2daa-4d43-b7be-bb5ba582c0a5)
   nodeAlign: "left"
   Title: “Node Align Right”
   
   Because these demos are frequently used as authoritative references when diagnosing Sankey layout behavior, this contradiction creates a false baseline for comparison. It becomes unclear whether observed alignment behavior is a rendering issue or simply an example mismatch.


-- 
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] Sankey nodeAlign examples have inconsistent titles and alignment behavior [echarts]

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

   Closing this issue because it belongs in the echarts-examples repository instead of the main repo.
   


-- 
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] Sankey nodeAlign examples have inconsistent titles and alignment behavior [echarts]

Posted by "Manahil-Afzal (via GitHub)" <gi...@apache.org>.
Manahil-Afzal closed issue #21470: Sankey nodeAlign examples have inconsistent titles and alignment behavior
URL: https://github.com/apache/echarts/issues/21470


-- 
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