You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "JuliaCwynar (via GitHub)" <gi...@apache.org> on 2024/09/18 06:56:38 UTC

[I] [Feature] Adding border color change to VisualMapComponent [echarts]

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

   ### What problem does this feature solve?
   
   This feature will update the border color in charts when VisualMapComponent is used. Currently with VisualMapComponent, the color of border is constant for whole serie, regardless of VisualMapComponent color application. Thus, there is a mismatch between the node and border color.
   
   ### What does the proposed API look like?
   
   option = {
     visualMap: [
       {
         inRange: {
           color: ['blue', '#121122', 'red'], 
           borderColor: ['blue', '#121122', 'red'], 
         },
     ]
   };


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


Re: [I] [Feature] Adding border color change to VisualMapComponent [echarts]

Posted by "WojciechKrakowiak (via GitHub)" <gi...@apache.org>.
WojciechKrakowiak commented on issue #20353:
URL: https://github.com/apache/echarts/issues/20353#issuecomment-3150393865

   I would also benefit from ability to set border color with visualMap. My use case include having both border and fill, but with different transparency.
   
   @JuliaCwynar I don't think we can have separate "color" and "borderColor", because currently it's up to Series model to decide, which of them gets the color. 
   https://github.com/apache/echarts/blob/110c613fbdbf3b39336d373ad01d6714697b4348/src/model/Series.ts#L168
   
   But maybe, we could have a third option for "visualDrawType": 'fill', 'stroke' and 'fillAndStroke'. And we would need to have it configurable from the options. 


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