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

   ### Version
   
   last
   
   ### Link to Minimal Reproduction
   
   
https://echarts.apache.org/examples/en/editor.html?code=G4QwTgBANglgzgFwEIgMYHsAmBTCBeAbQgHIkkAGSgRmIBoSzLyAmOhiygZjdI_IBYejSgFYhfAGzimAdmmUAHPPIBOeVXLqa9XtVY7hVbgY5VBJ6mIvkqU61Tn2l9tdeaa329pWb7vLY39mcyCrILsgxyDnINd_Tg94r11yTj8UzkCMkIywjIiMqIyYjLiU_kTy5OF-dJqsmpyavJqCmqKakpqy4RFK3uqOETqhhqGmoZahtqGOoa6hno4JfuXBygkRjbGNiY2pjZmNuY2FjaXKGVXL9fIZLbudu727g7uju5O7s7uL8gVrv9bgoHgongoXgo3goPgovgofgo_ipASpbioHionioXio3ioPioviofioLhoPABdABQoEgsEQAGUMGBsIQIDJ-PQEfRMvQuRAsfQJAp6GZ6DJRRypcwZNzOLyRLyBSp6CIZQKQWKqPydRAJKqIFCxeR6KaICIlRAqIaJAK-mrmMLzZwBRThQqLRI1ebmN6LcKrcbrVb-AKJHrhvz7f7XYr6HjeVKVgnPfcfbzzXD-WnDfx_ba5dbzTJ_cFhYabfynRBmFa0hKrcxPRphTWZFaRJW1Yby4K9e6IHyOTXfNy9QLh8wZcK9ZwrYnBUXOLGixVtdya0T-fQ-0jq7QaXToPBkCAAHYgAC2bKIxAAggAHR-wVAgBAwdDniCsjAwKDYJgPBPi-MBvh-X4QAAFtgYBgDA54AObAc-r7vp-35wBeQE6CBaEQd-ABm2Dnue2BQChoHgRhECPqyj5fjgYDoUhlH4TR17oGAH4AF7YGxYHoZBOBQQArleF4wHxAnUZBYnngA1rBCHIbhqGCQREAIGA6CiXAcDYCAokyUJ34IRg55wKeJGoAAniZmkAEbgOR9lqVRpkQHAACOomGQpMDYIgDk0QAsugUHXjeOEkHhGk0QBwAwAg77
 
8e57GQYyIAAB5fm5sXqbJ36OdgADuyWoDBMUPoVnmPqJ56VYF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4edkeB3JPin0a7p9M-JAbPhc2r48MiepXDntt26yl8JC_fGZjtBfj2wGeTnJnoV0wHw50BRfMga32q4d96urYbvsL1Kjl92unXIfpLx67j8UBJDYbnLypxRUXc9uIAA
   
   ### Steps to Reproduce
   
   1.- Create a Heatmap using VisualMap.
   2.- The Heatmap works correctly without categorization
   3.- A categorization is added (lines 97-100 & 157,158 )
   4.- The gradiaton expected doesn't work: a list (for "Critical" category in 
the example) is passed and it doesn't work (black color in the background), a 
string is valid (for any other category in the example) (line 167)
   
   ### Current Behavior
   
   The gradiaton expected doesn't work: a list (for "Critical" category in the 
example) is passed and it doesn't work (black color in the background), a 
string is valid (for any other category in the example) (line 167)
   
   ### Expected Behavior
   
   The gradiation of heatmap works if a list of colors is passed.
   
   ### Environment
   
   ```markdown
   - OS: Linux
   - Browser: Chromium / Firefox
   - Framework:
   ```
   
   
   ### 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