Export (0) Print
Expand All

MapArea.ToolTip Property

Gets or sets the tooltip for the map area.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[PersistenceModeAttribute(PersistenceMode.Attribute)]
[BindableAttribute(true)]
public string ToolTip { get; set; }

Property Value

Type: System.String
A string value that represents the tooltip of the chart element.

Implements

IChartMapArea.ToolTip

Setting this property will automatically result in a client-side image map being created, and a map area will be created with the Title attribute set to the specified tooltip string. The map area will use the dimensions that correspond to the relevant chart element. For example, if the ToolTip property is set for a data point, then HTML code similar to the following code will be generated at run time:

<MAP NAME="Chart1ImageMap"><AREA SHAPE="rect" Title="First Data Value = 19" COORDS="69,120,106,309"></MAP>

Setting this property will have no effect if the IsMapEnabled property is set to false. The default value is true.

Important   To create an image map in this manner, the RenderType property of the Chart object must be set to ImageTag. It is possible to create an image map when using binary streaming, but another technique must be used.

This property allows you to set special keywords to display different types of chart-related data.

To create image maps that have user-defined coordinates, use the MapAreas property of the root Chart object.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft