frenicohansen commented on issue #20757:
URL: https://github.com/apache/echarts/issues/20757#issuecomment-2692627619

   For those wondering how `color: inherit` fixes this issue:  
   
   According to the [ECharts 
documentation](https://echarts.apache.org/en/option.html#series-line.emphasis.itemStyle.color):
  
   
   > Since v5.2.0, it can be set to 'inherit' in the emphasis state to disable 
color highlight.  
   
   By using `color: inherit`, we effectively prevent ECharts from applying its 
default color highlight.  
   
   To mimic the default highlight effect, we can instead adjust the 
[opacity](https://echarts.apache.org/en/option.html#series-line.emphasis.itemStyle.opacity).
 The default behavior replaces the color with a lighter RGB color instead of 
modifying opacity, which unfortunately does not support the OKLCH color space.


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