Is it possible to hide some data labels of pie chart. Lets say i want to keep pies with less than 2% in chart but i do not want to show data labels of such pies. Ex in below image , i want to remobe “Book 1%” datalabel. Is there
a way to do this.
image.png (9.1 KB)
I have tried by
finding the data point in NSeries with lowest pie share and assigning empty string to data label text property , but its not working as expected,
var lowestSharePoint = chart.NSeries[seriesIndex].Points[lowestSharePointIndex ];
lowestSharePoint .DataLabels.ShowValue = true;
lowestSharePoint .DataLabels.Text = "";
chart.Calculate();
Kindly suggest some help. Thanks