MapArea::ToolTip Property
Gets or sets the tooltip for the map area.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
[PersistenceModeAttribute(PersistenceMode::Attribute)] [BindableAttribute(true)] public: virtual property String^ ToolTip { String^ get () sealed; void set (String^ value) sealed; }
Implements
IChartMapArea::ToolTipSetting 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.