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://es.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?
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.