I would like my igPieChart to display the values either in the pie chart slices, or outside the chart with arrows pointing to the slice.
Alternatively if this is not possible, it would help to display the values in the legend.
Please provide me an example of doing this.
I am currently using the tooltipTemplate property to display a tooltip with the values as follows:
tooltipTemplate: "<div class='ui-chart-tooltip'><div class='bold'>${item.Label}</div><div>Count: <label class='bold'>${item.Total}</label></div></div>"
The error sounds as though you are missing some JavaScript references. Please review the Adding an igPieChart to make sure you didn't miss any. You can also view a running sample by viewing the Business Charts - Pie sample.
igpiechart is not a function error occurs.please may solution for me
I'm glad you were able to solve it!
Nevermind got it working with this:
formatLabel: function (obj) { return obj.itemLabel + ": " + obj.item.Total; },
labelsPosition: "bestFit"