Dundas.SharePoint.Charting.WebParts Send comments on this topic.
CustomizeLegend Event
See Also 
Dundas.Charting.WebControl Namespace > Chart Class : CustomizeLegend Event


Fires just before the chart legend is drawn. Use this event to customize the chart legend items.

Syntax

Visual Basic (Declaration)  
<DescriptionAttribute("Fires just before the chart legend is drawn. Use this event to customize the chart legend items.")>
Public Event CustomizeLegend() As CustomizeLegendEventHandler
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim handler As CustomizeLegendEventHandler
 
AddHandler instance.CustomizeLegend, handler
C#  
[DescriptionAttribute("Fires just before the chart legend is drawn. Use this event to customize the chart legend items.")]
public event CustomizeLegendEventHandler CustomizeLegend()

Event Data

The event handler receives an argument of type CustomizeLegendEventArgs containing data related to this event. The following CustomizeLegendEventArgs properties provide information specific to this event.

Property Description
LegendItems Legend items collection.
LegendName Legend name.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also