I want to remove the legend entry for some, but not all, series in my Excel chart. From my experience it seems as if
To delete a legend entry you have to know the index of the legend you want to delete. Unfortunately, there doesn't seem to be a relationship available through the interop api that exposes the relationship between legend and series. There is one hokey workaround however. To remove a legend for a specific series the approach that worked for me was to remove the legend immediately after adding the series. This is the only time that the legend index is known.
// . // . code to add series // . // remove the legend entry for the newly added series chart.Legend.LegendEntries(chart.Legend.LegendEntries().Count).Delete();