แก้ไข

แชร์ผ่าน


Chart.OnPrePaint(ChartPaintEventArgs) Method

Definition

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

e
ChartPaintEventArgs

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.

Applies to