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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to