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


Fires when chart element must be drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend

Syntax

Visual Basic (Declaration)  
<BrowsableAttribute(False)>
<DescriptionAttribute("Fires when chart element must be drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend.")>
Public Event Paint() As PaintEventHandler
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim handler As PaintEventHandler
 
AddHandler instance.Paint, handler
C#  
[BrowsableAttribute(false)]
[DescriptionAttribute("Fires when chart element must be drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend.")]
public event PaintEventHandler Paint()

Event Data

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

Property Description
Chart Chart root object.
ChartGraphics Chart graphics object.
Position Chart element position in relative coordinates.

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