Chart.CustomizeMapAreas Zdarzenie

Definicja

Występuje tuż przed renderowaniem mapy obrazu wykresu. To zdarzenie służy do dostosowywania elementów obszarów mapy.

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) 

Typ zdarzenia

EventHandler<CustomizeMapAreasEventArgs>

Uwagi

CustomizeMapAreasEventArgs Właściwość MapAreaItems klasy może służyć do:

  • Usuń lub zmodyfikuj elementy mapy, które zostały automatycznie utworzone dla obiektu wykresu; dowolny punkt danych, seria, element legendy lub obiekt linii paska, który ma niepustą Urlwłaściwość lub MapAreaAttributes ToolTip będzie miał skojarzony obiekt obszaru mapy.

  • Dodaj niestandardowe obszary mapy, które mają kształt i współrzędne zdefiniowane przez użytkownika.

Uwaga

Argument nadawcy typu Chart jest tylko do odczytu.

Dotyczy