AddLegendItem Method Example

The following example adds the legend item High OverRange in column 5 of the legend of Chart object TestChart, displaying 10 characters.

TestChart.AddLegendItem "High Over", 5, 10