Chart.OnPrePaint(ChartPaintEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs after the chart element background is painted.
protected:
virtual void OnPrePaint(System::Web::UI::DataVisualization::Charting::ChartPaintEventArgs ^ e);
protected virtual void OnPrePaint (System.Web.UI.DataVisualization.Charting.ChartPaintEventArgs e);
abstract member OnPrePaint : System.Web.UI.DataVisualization.Charting.ChartPaintEventArgs -> unit
override this.OnPrePaint : System.Web.UI.DataVisualization.Charting.ChartPaintEventArgs -> unit
Protected Overridable Sub OnPrePaint (e As ChartPaintEventArgs)
Parameters
The ChartPaintEventArgs object which provides data for the event.
Remarks
This event occurs just prior to a chart element being drawn, and is raised once for the chart image, and one time for each of the ChartArea, Legend, Series and DataPoint objects that exist within the chart image. Note that this event is not raised for Series and DataPoint objects for 3D charts.