Highcharts markers on legend and hover ONLY

可紊 提交于 2019-12-12 02:51:59

问题


I need to show highchart markers only on hover state and in the legend at all times. I don't want it to show on normal state in the chart. I searched for this and found this post which did not work for me

Series markers disable on lines and enable on legend in Highchart


回答1:


You can reset drawPoints function.

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

Example: http://jsfiddle.net/11pLzk9m/1/



来源:https://stackoverflow.com/questions/31997776/highcharts-markers-on-legend-and-hover-only

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!