Chart Events

The Chart type exposes the following members.

  Name Description
Public event CallingDataMethods Occurs when data methods are being called. (Inherited from DataBoundControl.)
Public event Click Occurs when the active image map area defined by PostBackValue on the Chart control is clicked.
Public event CreatingModelDataSource Occurs when the ModelDataSource object is being created. (Inherited from DataBoundControl.)
Public event Customize Occurs just before the chart image is drawn. All chart data is available and all chart properties have been set.
Public event CustomizeLegend Occurs just before the chart legend is drawn. Use this event to customize the chart legend items.
Public event CustomizeMapAreas Occurs just before the chart image map is rendered. Use this event to customize the map areas items.
Public event DataBinding Occurs when the server control binds to a data source. (Inherited from Control.)
Public event DataBound Occurs after the server control binds to a data source. (Inherited from BaseDataBoundControl.)
Public event Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.)
Public event FormatNumber Called when a numeric value has to be converted to a string.
Public event Init Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.)
Public event Load Occurs when the server control is loaded into the Page object. (Inherited from Control.)
Public event PostPaint Occurs after chart element was drawn. This event is raised for elements such as ChartArea and Legend.
Public event PrePaint Occurs after the chart element backround is drawn. This event is raised for elements such as ChartArea and Legend.
Public event PreRender Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.)
Public event Unload Occurs when the server control is unloaded from memory. (Inherited from Control.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft