Occurs just before the chart legend is drawn. Use this event to customize the chart legend items.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
The event is primarily used to customize the legend just before it is drawn. Both default and custom legend items can be removed or modified, and custom items can also be added. In addition, the order of legend items can be changed.
The chart image can also be modified before being drawn by using the sender argument.
Note that a default legend item is an item that is created for either a data series or data point, but a custom legend item is not connected in any way to the chart data.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.