Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如示例所示,我们可以通过按住 CNTL 键选择多个点!有什么方法可以让用户一次只能选择一个点?
marker: { states: { select: { lineWidth: 3 } } }
您可以自己编写行为代码,而不是使用allowPointSelect:
allowPointSelect
series: { cursor: 'pointer', point: { events: { click: function(event) { this.select(); } } } }
在这里拉小提琴。