100pah opened a new pull request, #21191:
URL: https://github.com/apache/echarts/pull/21191

   
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   A tiny update:
   
   Support matrix.x/y.length for conveniently create a headless matrix without 
composing an array.
   
   Before:
   ```js
   matrix: {
       x: {data: Array(5).fill(null)},
       y: {data: Array(3).fill(null)},
   }
   ```
   After:
   ```js
   // Support this way, more straightforward.
   matrix: {
       x: {length: 5},
       y: {length: 3},
   }
   ```
   
   
   ## 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
   
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to