Chart.CustomizeMapAreas Event
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 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
orToolTip
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
.NET