LegendKey Property

Microsoft Graph Visual Basic

LegendKey Property

       

Returns a LegendKey object that represents the legend key associated with the entry.

Example

This example sets the legend key for legend entry one to be a triangle. The example should be run on a 2-D line chart.

myChart.Legend.LegendEntries(1).LegendKey _
    .MarkerStyle = xlMarkerStyleTriangle