dilipkumar6306316-art commented on PR #21463:
URL: https://github.com/apache/echarts/pull/21463#issuecomment-4103336229

   > ### Problem
   > Custom series elements with large datasets (~3000+ points) were being 
marked as `silent` / `ignore` by ECharts for performance reasons. As a result, 
**hover and emphasis (highlighting) did not work** even when `emphasis` was 
explicitly defined in `renderItem`. This is tracked in issue #21442.
   > 
   > ### Solution
   > This PR ensures that any **custom element with an `emphasis` state** is 
not marked as silent or ignored. The fix is applied in 
`src/chart/custom/CustomView.ts` just before `toggleHoverEmphasis` is called.
   > 
   > * Only elements with `emphasis` are affected
   > * `emphasisDisabled` is respected
   > * Large dataset performance remains unaffected
   > 
   > ### How to Test
   > 1. Open the custom series example (CodeSandbox or `http://localhost:9001`)
   > 2. Set `dataCount` to ~3000-4000
   > 3. Hover over the rectangles
   > 4. Observe that emphasis (highlight) works correctly
   > 
   > ### Related Issue
   > Closes #21442
   
   


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