I have a pie chart that shows two percentages. I am looking to update the tooltip content to display information from my JSON data. Here is an example of how my JSON data looks:
{"object1":{"percentage": 0.7, "numberOfObject": 167}, "object2":{"percentage": 0.3, "numberOfObject": 125}}
Currently, the pie chart displays the percentages like this:
jsonValue.object1.percentage
and jsonValue.object2.percentage
My goal is to show the "numberOfObject" value for each object when hovering over their respective parts of the chart.