[GitHub] [incubator-echarts] plainheart commented on issue #12918: Hide symbols but show labels.
plainheart commented 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, but 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=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: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] plainheart commented on issue #12918: Hide symbols but show labels.
plainheart commented on issue #12918: URL: https://github.com/apache/incubator-echarts/issues/12918#issuecomment-654539484 It seems that there is no simple way to achieve such requirement, but here is a workaround for you https://gallery.echartsjs.com/editor.html?c=xIJyAD4BFw=1 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: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] plainheart commented on issue #12918: Hide symbols but show labels.
plainheart commented on issue #12918: URL: https://github.com/apache/incubator-echarts/issues/12918#issuecomment-654521857 Do you mean you want to hide the empty circles? It's easy to do by using [`symbol: 'none'`](https://echarts.apache.org/en/option.html#series-line.symbol). 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: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org