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

   ### What problem does this feature solve?
   
   Currently the continuous visual map allows only interpolation in an 
RGBA-Space.
   For enabling the advantages of different color spaces (in particular of the 
[CIELab color space](https://en.wikipedia.org/wiki/CIELAB_color_space) which is 
better suited to create human-perceptually uniform gradients) it would be best 
to be able to choose the color space in which the interpolation between two 
colors is performed.
   
   
   Currently the continuous visual map allows only equidistant interpolation by 
using multiple colors in the `inRange` property.
   But it would be nice to be able to set such interpolation stop values 
manually.
   
   ### What does the proposed API look like?
   
   ` {
     visualMap: { 
       type: "continuous",
       colorSpace: "lab" | "rgba" | ...,
       inRange: {
           stopValues: number[],
           colors: string[]
       }
   }`
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to