[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILegend.LegendEntries

LegendEntries Property

LegendEntries

Gets the collection of legend entries in this legend.

Declaration
ILegendEntries LegendEntries { get; }
ReadOnly Property LegendEntries As ILegendEntries
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Value"},
    {"A", 10},
    {"B", 20}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"]);
ILegendEntries legendEntries = chart.Legend.LegendEntries;