I'm adding a Pie Chart to my application and unable to get the tooltip to display. I've tested using both a Pie and Donut chart, also using the codesandbox demos and cannot get tooltips to work there either.
Can you confirm that they do not work or can you provide an example where you have them working please?
Thank you for contacting. PieChart does not support tooltips as the exposed toolTip property does not working is a know issue and already being logged with '273291' into our internal bug tracking system.
I created a private case ‘C-00220961’ to link the bug so that you will get notify when fix is ready to use.
You can view the status of the development issue connected to this case by selecting the "Development Issues" tab when viewing this case on the web site.
As a workaround DonutChart series has tooltipTemplate to hook up your template.
You can find the example here (check the tsx section):
Let me know if you have any question.
Hello Andrew ,
Forgot to mentioned that in the donutchart if you set the innerExtent to 0 it will show the donutchart as a piechart ,since it show the radius of the inner circle ,so you can try that workaround for piechart for now.
Thank you for the quick reply and suggestions. I've tried several different ways to get the tooltip to show for the donut charts and am having no success. I can't get a custom tooltip to work nor can I get the default to work either.
I've been using the samples in the codesandbox sites as well.
Can you kindly provide me with an example of a working tooltip for the donut chart please?
You are right custom tooltip template is not working for me too. Its working for other charts.
Although In the dounutchart we do not have any mouse click event so I tried to hook it up with the sliceclick but its not working.
I log another bug 273670 for that and would link it with you private case to get update with the progress of the issues.
Thanks for the info. I'm open to any other work arounds that you or the team may know of.