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/11/07 22:25:42 UTC

[GitHub] [echarts] 97morningstar opened a new issue, #17885: How do I customize gradient color stops if I use the dataset prop instead of data

97morningstar opened a new issue, #17885:
URL: https://github.com/apache/echarts/issues/17885

   ### What problem does this feature solve?
   
   I would like to be able to add colorStops with percentages to visualMap and to the dataset. 
   
   At the moment I can't find a way to specify the percentage to be applied to the data, except by using the itemStyle in the data property in the series prop, which I am not using. 
   
   
   
   
   ### What does the proposed API look like?
   
   ![image](https://user-images.githubusercontent.com/26909101/200428106-44a85646-8fb6-461e-9e2e-8f56f2a12ca1.png)
   
   
   For example, in the previous image the color purple is closer to 0, I would like to have a slider and be able to move the colors to represent certain steps/areas of the data.
   
   Is this possible? Any advice would be greatly appreciated


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


[GitHub] [echarts] brutuscat commented on issue #17885: How do I customize gradient color stops if I use the dataset prop instead of data

Posted by GitBox <gi...@apache.org>.
brutuscat commented on issue #17885:
URL: https://github.com/apache/echarts/issues/17885#issuecomment-1333449529

   Not sure if this would solve what you ask, but I would add a data transformation to represent the datapoints continuously as you want and make the visual map use that added dimension.


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