[]
Gets or sets whether the legend is included in the chart layout.
If this property is true, the legend occupies chart layout space
when the chart layout is determined. The default value is true.
bool IncludeInLayout { get; set; }
Property IncludeInLayout As Boolean
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
ILegend legend = chart.Legend;
legend.IncludeInLayout = false;
bool includeInLayout = legend.IncludeInLayout;