[]
Gets or sets whether the chart has a legend.
Use this property to determine whether the legend is currently displayed for the chart.
bool HasLegend { get; set; }
Property HasLegend As Boolean
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.HasLegend = true;
bool hasLegend = chart.HasLegend;