You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/06/23 09:03:08 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17274: [Bug] colorStops里color写法 rgb(254 134 22 / 20%报错

echarts-bot[bot] commented on issue #17274:
URL: https://github.com/apache/echarts/issues/17274#issuecomment-1164147492

   @oseaweed It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] ColorStops in colorStops is written as rgb (254 134 22/ 20% error reporting
   
   **BODY**
   
   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   color gradient configuration:
   areaStyle: {
     opacity: 0.5,
     color: {
       type: 'linear',
       x: 0,
       y: 0,
       x2: 0,
       y2: 1,
       colorStops: [
         {
           offset: 0,
           color: 'rgb(254 134 22 / 20%)',
         },
         {
           offset: 1,
           color: '#fff',
         },
       ],
     },
   },
   
   ### Current Behavior
   
   In colorStops, the writing method of color rgb(254 134 22 / 20%) will report an error, just change it to rgba(254 134 22 / 20%)
   
   ### Expected Behavior
   
   Support rgb (254 134 22 / 20%) writing method
   
   ### Environment
   
   ````markdown
   - OS:
   - Browser:
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


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