How to display tooltips on jqplot pie chart

前端 未结 5 1627
暗喜
暗喜 2020-12-06 16:54

I have a jqplot pie chart with a legend and I would like to get the legend text to appear as a tooltip when the mouse hovers on the pies. I\'m not sure how to do that. Doe

5条回答
  •  盖世英雄少女心
    2020-12-06 17:31

    I do not believe there is a built in for this. You'll need to bind handlers to the 'jqplotDataHighlight' and 'jqplotDataUnhighlight' events. See the example on the bottom of this page. This is doing it with bubble plots, but it should translate to pie plots as well.

提交回复
热议问题