You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "ZeRego (via GitHub)" <gi...@apache.org> on 2025/04/08 13:09:46 UTC

[I] [Bug] getDataURL throws TypeError: Cannot read properties of null (reading 'length') [echarts]

ZeRego opened a new issue, #20904:
URL: https://github.com/apache/echarts/issues/20904

   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
   https://jsfiddle.net/sd807pz3/1/
   
   ### Steps to Reproduce
   
   1. create a pie chart using "svg" rendered and "outside" labels
   2. call `echartsInstance.getDataURL()`
   
   
   ### Current Behavior
   
   Error TypeError: Cannot read properties of null (reading 'length')
   
   <img width="501" alt="Image" src="https://github.com/user-attachments/assets/e3663211-da33-4809-bada-f067f7d33201" />
   
   <img width="1091" alt="Image" src="https://github.com/user-attachments/assets/86e19a95-0724-4a1a-ae63-87995d980d99" />
   
   ### Expected Behavior
   
   Get base64 data.
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   Changing the rendered to "canvas" or the label position to "outside" returns base 64 without error.


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

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


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


Re: [I] [Bug] getDataURL throws TypeError: Cannot read properties of null (reading 'length') [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #20904: [Bug] getDataURL throws TypeError: Cannot read properties of null (reading 'length')
URL: https://github.com/apache/echarts/issues/20904


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

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


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