Legend Property Example

This example causes the specified chart to display its legend and then sets the legend font.

ChartSpace1.Charts(0).HasLegend = True
ChartSpace1.Charts(0).Legend.Font.Name = "times new roman"