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?
Asked
Active
Viewed 1.2k times
1 Answers
11
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.

Peter Mortensen
- 30,738
- 21
- 105
- 131

Amit
- 21,570
- 27
- 74
- 94