I am using Microsoft Chart, and I have top Legend displayed at the top in a pie chart. Which property is used to show or hide the legend of a pie chart?
Just do the following.
Legend leg = new Legend();
Chart1.Legends.Add(leg);// This will show all legends.
Actually you have to create a legend object, set its different or desired properties like font, etc., and then add it to the chart.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With