Chart.MapAreas 属性
定义
获取一个 MapAreasCollection 对象,该对象存储图表的映射区。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
属性值
一个 MapAreasCollection 对象,该对象存储图表的映射区。A MapAreasCollection object which stores the map areas for the chart.
- 属性
注解
在设计时或运行时使用此属性可将自定义地图区域添加到图表中。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.
若要将图表用作图像映射,则 IsMapEnabled 必须将根的属性 Chart 设置为 true (默认值)。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.