Gets or sets a MapAreasCollection object. Can be used to: remove or modify map areas that correspond to a chart object; and add custom map areas.
MapArea items collection.
Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property MapAreaItems As MapAreasCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public MapAreasCollection MapAreaItems {get;} |
Return Value
A MapAreasCollection object.
The following sample loops through all map areas that have been created for a chart element, and removes those items that do not have a tooltip.
Visual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WebControl |
This property allows for:
- the deletion or customization of map areas that have been been created for a chart object (any data point, series, legend item or strip line object that has a non-empty Href, MapAreaAttributes or ToolTip property will have an associated map area object).
- the addition of custom legend items, which have a user-defined shape and coordinates.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family