When I set the tooltipTemplate for my igFunnelChart similar to how I do it for igDataChart or igPieChart, it does not appear as though the template interprets the ${item.fieldName} elements properly.
How can I get to the item that the slice is representing when showing the tooltip for that slice?
Hello Ryan,
Thank you for contacting Infragistics Developer Support!
Please review the attached sample and let me know is that what you are trying to achieve, if not so please modify the attached sample using your configuration and reattach it, so I can be able to investigate it.
AhHa! I see what you did there. In the igPieChart and igDataChart tooltipTemplate you use ${item.fieldName} to get the values you want. In this tooltipTemplate you simply use ${fieldName} to get the value. It would be helpful to have this in the API documentation. Currently tooltipTemplate is not even listed in the Options for igFunnelChart.
Thanks!
I am glad that I have managed to help.
All charts inherit igBaseChart widget, which does have the tooltipTemplate option. You can review in the following sample how to use it.
If I may be of further asstance with igFunnelChart and the tooltipTemplate let me know.