Dundas Chart for ASP.NET
Paint Event
See Also  Send comments on this topic.
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)  
Public Event Paint() As PaintEventHandler
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim handler As PaintEventHandler
 
AddHandler instance.Paint, handler
C#  
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

Gets the root Chart object.


Chart root object.
ChartGraphics

Gets a ChartGraphics object.


Chart graphics object.
Position

Gets an ElementPosition object.


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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.