Breyta

Deila með


Chart.MapAreas Property

Definition

Gets a MapAreasCollection object, which stores the map areas for the chart.

public:
 property System::Web::UI::DataVisualization::Charting::MapAreasCollection ^ MapAreas { System::Web::UI::DataVisualization::Charting::MapAreasCollection ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.DataVisualization.Charting.MapAreasCollection MapAreas { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.MapAreas : System.Web.UI.DataVisualization.Charting.MapAreasCollection
Public ReadOnly Property MapAreas As MapAreasCollection

Property Value

A MapAreasCollection object which stores the map areas for the chart.

Attributes

Remarks

Use this property at either design time or run time to add custom map areas to the chart. Custom map areas, unlike map areas that correspond to a chart element, have a user-defined shape and coordinates.

In order to use the chart as an image map, the IsMapEnabled property of the root Chart must be set to true, which is the default.

If you render the chart as a binary stream, a special technique must be used to implement client-side image maps.

Applies to