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 2020/08/27 01:15:01 UTC

[GitHub] [incubator-echarts] plainheart edited a comment on issue #12918: Hide symbols but show labels.

plainheart edited a comment on issue #12918:
URL: https://github.com/apache/incubator-echarts/issues/12918#issuecomment-681203184


   Yes, the legend doesn't display normally because of the transparent item color.
   
   Though we can set `legend.itemStyle.color`(Note that this option is not listed in the documentation) as the color we want, the symbol of the legend will only display a circle but not display the line at the two sides of the circle. This may be not what you want.
   
   Therefore, maybe we can try another way, such as using a very small `symbolSize`.
   
   https://gallery.echartsjs.com/editor.html?c=xIJyAD4BFw&v=5
   
   But there will be an empty circle in the legend, which is hidden in the line series. In addition, the labels will be unclickable and can't respond to the hovering event for the very small symbol size. Will that be acceptable?


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

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