Echarts click on the corresponding point of the legend does not disappear why?

   KnowledgeOP.setOption({
            tooltip: {
              show: false,
            },
            legend: [{
              selectedMode: true,
              data: categories.map(a => a.name),
            }],
            // toolbox: {
            //   show: true,
            //   feature: {
            //     myButtons: {
            //       show: true, // 
            //       title: "", // 
            //       icon: "image://../images/icon-list.png",
            //       option: {},
            //       onclick() { // ,option1chartoption
            //         KnowledgeOP.dispose();
            //         owner.graphTemplate(nodeSize, "detail", categories, fliterNodes, links);
            //       },
            //     },
            //   },
            // },
            series: [
              {
                name: "Les Miserables",
                type: "graph",
                layout: "force",
                data: fliterNode,
                links,
                categories,
                roam: true,
                force: {
                  repulsion: 12,
                  // true
                  layoutAnimation: false,
                },
              },
            ],
          });
Sep.16,2021
Menu