Visible Property Example

This example displays the legend for the specified chart and hides the specified legend entry.

ChartSpace1.Charts(0).HasLegend = True
ChartSpace1.Charts(0).Legend.LegendEntries(1).Visible = False