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?
Thanks!
Hello Andrew,
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):
https://ko.infragistics.com/products/ignite-ui-react/react/components/charts/features/chart-tooltips#react-chart-tooltip-template
Let me know if you have any question.
Regards,
Hi Divya,
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.
https://codesandbox.io/s/github/IgniteUI/igniteui-react-examples/tree/master/samples/charts/doughnut-chart/selection?file=/src/index.tsx
Can you kindly provide me with an example of a working tooltip for the donut chart please?
Thanks for the info. I'm open to any other work arounds that you or the team may know of.
Best,
Andrew
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.
Thak you.
Divya Jain