There are several pieces of data in the echarts legend. Now I want two of the legends to prohibit clicking. How can I achieve this?

clipboard.png

now that there are 5 curves, how do I want the last two legends to disable clicks?
wait online!

Mar.28,2021

add the following two lines of code to the css of the prohibited legend, which is equivalent to the disabled effect. You can also try to see if your tag supports the disabled attribute.

pointer-events:none;
cursor:default
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e549b2-43f7f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e549b2-43f7f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?