plainheart opened a new pull request, #21436:
URL: https://github.com/apache/echarts/pull/21436

   <!-- Please fill in the following information to help us review your PR more 
efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [x] bug fixing
   - [ ] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   Current implementation of `scatterJitterLayout` does not support progressive 
rendering like 
[`scatterPointsLayout`](https://github.com/apache/echarts/blob/bbe3591a8a946b62a16e2ee6e254d8d1ed0c2741/src/layout/points.ts#L85-L88),
 which causes two issues:
   
   1. Chart freezes with large datasets
   2. Chart throws NPE with progressive rendering as the layout points use 
typed array and can not be retrieved by `seriesData.getItemLayout(idx)`
   
   Please take a look at [this online 
example](https://echarts.apache.org/examples/editor.html?c=scatter-large) for a 
quick view. 
   
   ### Fixed issues
   
   - Resolves #21434
   
   
   ## Comparison
   
   <img width="2795" height="1625" alt="image" 
src="https://github.com/user-attachments/assets/fbb8ee0c-cfba-4966-982a-3e4ad7787a9b";
 />
   
   ## Document Info
   
   One of the following should be checked.
   
   - [x] This PR doesn't relate to document changes
   - [ ] The document should be updated later
   - [ ] The document changes have been made in apache/echarts-doc#xxx
   
   
   
   ## Misc
   
   ### Security Checking
   
   - [ ] This PR uses security-sensitive Web APIs.
   
   <!-- PLEASE CHECK IT AGAINST: 
<https://github.com/apache/echarts/wiki/Security-Checklist-for-Code-Contributors>
 -->
   
   ### ZRender Changes
   
   - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
   
   ### Related test cases or examples to use the new APIs
   
   See the 4th/5th test cases in `test/scatter-jitter.html`.
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merging.
   
   ### Other information
   


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