Hide symbols but show labels.
See original GitHub issueWhat problem does this feature solve?
In my case I only want to show the 1st & the last label. I am able to hide labels using the formatter function but empty symbols (small circles) make the UI very weird. Setting showAllSymbol
to false
hide the labels. Setting the size
to 0 also hides the labels.
Is it possible to show only labels but no symbols?
What does the proposed API look like?
The API is already there. If Labels.show is true
& showAllSymbol: false
, show labels but hide the symbols.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Hide symbols but show labels. · Issue #12918 · apache/echarts
I am able to hide labels using the formatter function but empty symbols (small circles) make the UI very weird. Setting showAllSymbol to...
Read more >To Show or Hide Label Override Symbols | Civil 3D 2019
Click Annotate tab Label Text panel Override Glyphs Hide Label Override Glyphs Find. To show label override symbols. Click Annotate tab Label ......
Read more >How can I hide taskbar labels in Windows 10 without ...
The program is called 7+ Taskbar Tweaker, but I strongly recommend you go to the ... Under taskbar settings, choose "Always, hide labels"....
Read more >matplotlib - Python hide ticks but show tick labels
You can set the tick length to 0 using tick_params (http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.tick_params):
Read more >Samsung Galaxy How to Hide Icon Labels Text - YouTube
Enter Giveaway for Galaxy S22 Ultra, Redmi Note 11 and Redmi Note 11Shttps://gleam.io/aB28y/galaxy-s22-ultra-ultimate-giveawayPreorder ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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&v=2
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?