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

   ### Version
   
   5.5.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=map-usa-projection
   
   ### Steps to Reproduce
   
   Given the example at 
https://echarts.apache.org/examples/en/editor.html?c=map-usa-projection, add 
`visualMap.inRange.color` a gradient value:
   
   ```
   {
               type: 'linear',
               x: 0,
               y: 0,
               x2: 0,
               y2: 1,
               colorStops: [{
                   offset: 0, color: 'red' // color at 0%
               }, {
                   offset: 1, color: 'blue' // color at 100%
               }],
               global: false // default is false
             },
   ```
   
   it renders as shown below:
   ![USA Population Estimates 
(2012)](https://github.com/apache/echarts/assets/371291/b448556f-f894-44a4-9aed-b9ed1b233013)
   
   
   
   ### Current Behavior
   
   Gradient is rendered as black.
   
   ### Expected Behavior
   
   Gradient is rendered correctly.
   
   ### Environment
   
   ```markdown
   - OS: MacOS 13.2.1
   - Browser: Google Chrome Version 122.0.6261.112 (Official Build) (arm64)
   - Framework: N/A
   ```
   
   
   ### 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-unsubscr...@echarts.apache.org.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