You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "MrWhatHuang (via GitHub)" <gi...@apache.org> on 2025/06/22 11:19:56 UTC

[I] [Bug] [`series-line`] When `areaStyle` is set to a gradient color and the mouse hovers over the line, the console reports: `Cannot read properties of undefined.` [echarts]

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

   ### Version
   
   5.6.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=area-basic&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AI2ABXaABNGXAOKMQRAGaMANnip9SsCWEZEA2rQCyMXrFoAVYVRO0A6lTHWzAC2HWAYhwjWAysx-jaAF0SAF91WHIcfCJUDQpqOgA3ZUtaUPDVTypCWF1-Yg10LR1cgA4AJgAGHlgATgBmcprayoBGZvqAFhrW8pae-vrq2FbGysDwuMoaUyUIaCtJ0kkqRm8KJRnYwvR6YCVOGPyd-JnaOYXJXmPCjCJqm41ye6WdjHKXx9JyD5HXwr2Bw461AOTyOx22whhWA8nkqjAn2hO0Bh1MHFYAgAFJURvVWrBygBWImwAD0IyJAFIAJRpZGkMJfDRQhmwWHwqiIv7MgH7NG0DHY3GjAnE0kUyq0-lskK84LQuU7JWMkjBEIAbiAA
   
   ### Steps to Reproduce
   
   in `series-line`
   `areaStyle` set to a gradient color
   mouse hovers over the line
   
   ![Image](https://github.com/user-attachments/assets/bd19f2d8-daa0-4172-a109-03ed419f95c9)
   
   ### Current Behavior
   
   the console reports: `Cannot read properties of undefined.`
   
   ### Expected Behavior
   
   fix it
   
   ### Environment
   
   ```markdown
   - OS:window 11
   - Browser:Chrome 137.0.7151.119
   - Framework: javascript
   ```
   
   ### Any additional comments?
   
   _No response_


-- 
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] [`series-line`] When `areaStyle` is set to a gradient color and the mouse hovers over the line, the console reports: `Cannot read properties of undefined.` [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #21051: [Bug] [`series-line`] When `areaStyle` is set to a gradient color and the mouse hovers over the line, the console reports: `Cannot read properties of undefined.`
URL: https://github.com/apache/echarts/issues/21051


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


Re: [I] [Bug] [`series-line`] When `areaStyle` is set to a gradient color and the mouse hovers over the line, the console reports: `Cannot read properties of undefined.` [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #21051:
URL: https://github.com/apache/echarts/issues/21051#issuecomment-2994844877

   The color format `rgb(0 131 255 / 15%)` is not fully supported by ECharts, please use _**hex / rgb / rgba**_ format instead.


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