HighCharts: Labels visible over tooltip

前端 未结 7 1727
离开以前
离开以前 2020-12-01 09:45

Labels on my chart are showing over tooltip, which doesn\'t look very nice. I tried to play with zIndex, but to no result. How can I make tooltips not transpare

7条回答
  •  执念已碎
    2020-12-01 10:17

    If you set tooltip.backgroundColor to "rgba(255,255,255,1)" you'll get tooltip with "no transparency"

    You will have to remove useHTML: true in the pie settings.

    Fork of your jsfiddle: http://jsfiddle.net/kairs/Z3UZ8/1/

    tooltip: {
      backgroundColor: "rgba(255,255,255,1)"
    }
    

    Documentation on highchart

提交回复
热议问题