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


Fires after the chart element backround was drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend

Syntax

Visual Basic (Declaration)  
<DescriptionAttribute("Fires after the chart element backround was drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend.")>
Public Event PrePaint() As PaintEventHandler
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim handler As PaintEventHandler
 
AddHandler instance.PrePaint, handler
C#  
[DescriptionAttribute("Fires after the chart element backround was drawn. This event is fired for elements like: ChartPicture, ChartArea and Legend.")]
public event PaintEventHandler PrePaint()

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