Hide shortcuts in a pie chart

Am I crazy / blind? Probably a combination of the two.

How do I remove data labels from a pie chart using the new chart control in .net 4?

I can make them display as tooltips absolutely accurately, but in the end I would like the labels not to be present as they look pretty busy.

I searched the previous answers and saw the code for permissions, but surely there must be some kind of code infront to disable these labels?

Apologizes for being fat / blind.

+4
source share
2 answers
EstadoPie2.Series("EstadoSummarySeries")("PieLabelStyle") = "Disabled" 

It worked for me.

+3
source

for (var i = 0; i <Chart.Series.Count; i ++) {Chart.Series [i] ["PieLabelStyle"] = "Disabled"; }

+3
source

Source: https://habr.com/ru/post/1308222/


All Articles