[]
Gets the legend for the chart.
ILegend Legend { get; }
ReadOnly Property Legend As ILegend
worksheet.Range["A1:C3"].Value = new object[,] {
{"Month", "Q1", "Q2"},
{"Jan", 10, 20},
{"Feb", 15, 25}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:C3"], RowCol.Columns, true, true);
chart.HasLegend = true;
ILegend legend = chart.Legend;
legend.Position = LegendPosition.Left;