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

   <!-- Please fill in the following information to help us review your PR more 
efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of: 
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   ### What does this PR do?
   Adding custom cursor properties for Treemap
   
   ### Fixed issues
   - #13632 
   
   ## Details
   ### Before: What was the problem?
   In treemap, there is no way to customize the cursor style through cursor, 
and it can only default to "pointer"
   ### After: How does it behave after the fixing?
   Users can set the cursor style in option like other series graph
   ```javascript
   series: [
    {
       name: 'TreeMap Cursor',
       type: 'treemap',
       label: ... ,
       breadcrumb: ... ,
       levels: ... ,
       cursor:'crosshair',  // it should be able to set crosshair for treemap
       data: 
     }
   ]
   ```
   <img width="1366" alt="image" 
src="https://github.com/apache/echarts/assets/55272646/e7ee9f81-f833-4e2a-a524-d03e18fa317d";>
   
   ## Document Info
   
   One of the following should be checked.
   
   - [ ] This PR doesn't relate to document changes
   - [x] The document should be updated later
   - [ ] The document changes have been made in apache/echarts-doc#xxx
   
   ## Misc
   
   ### ZRender Changes
   
   - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
   
   ### Related test cases or examples to use the new APIs
   
   N.A.
   
   
   ## Others
   
   ### 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