แก้ไข

แชร์ผ่าน


Chart.CustomizeMapAreas Event

Definition

Occurs just before the chart image map is rendered. Use this event to customize the map areas items.

public:
 event EventHandler<System::Web::UI::DataVisualization::Charting::CustomizeMapAreasEventArgs ^> ^ CustomizeMapAreas;
public event EventHandler<System.Web.UI.DataVisualization.Charting.CustomizeMapAreasEventArgs> CustomizeMapAreas;
member this.CustomizeMapAreas : EventHandler<System.Web.UI.DataVisualization.Charting.CustomizeMapAreasEventArgs> 
Public Custom Event CustomizeMapAreas As EventHandler(Of CustomizeMapAreasEventArgs) 

Event Type

Remarks

The MapAreaItems property of the CustomizeMapAreasEventArgs class can be used to:

  • Delete or modify map items that have automatically been created for a chart object; any data point, series, legend item or strip line object that has a non-empty Url, MapAreaAttributes or ToolTip property will have an associated map area object.

  • Add custom map areas that have a user-defined shape and coordinates.

Note

The sender argument of type Chart is read-only.

Applies to