仅在图例和悬停上显示 Highcharts 标记

Highcharts markers on legend and hover ONLY

我需要始终仅在悬停状态和图例中显示高图标记。我不希望它在图表中显示为正常状态。我搜索了这个,发现这个 post 对我不起作用

Series markers disable on lines and enable on legend in Highchart

您可以重置 drawPoints 功能。

Highcharts.Series.prototype.drawPoints = function() { };

示例:http://jsfiddle.net/11pLzk9m/1/