我正在使用echart库创建堆叠的聚类条形图。但工具提示中的数据太多,因此我需要使工具提示可滚动。如何在echarts中做到这一点?
您可以设置extraCss来制作它。
你必须进入图例组件并放入type: 'scroll' https://ecomfe.github.io/echarts-doc/public/en/option.html#legend.type
type: 'scroll'