HasLegend Property Example

This example sets the specified chart to have a legend.

ChartSpace1.Charts(0).HasLegend = True

Send feedback to MSDN.Look here for MSDN Online resources.