Dundas Chart for ASP.NET
ToolTip Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > MapArea Class : ToolTip Property


Gets or sets the tooltip of the map area.


Tooltip of the area.

Syntax

Visual Basic (Declaration)  
Public Property ToolTip As String
Visual Basic (Usage) Copy Code
Dim instance As MapArea
Dim value As String
 
instance.ToolTip = value
 
value = instance.ToolTip
C#  
public string ToolTip {get; set;}

Return Value

A value that represents the tooltip of the chart element.

Remarks

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 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 Chart object's MapEnabled property is set to false (true by default).

IMPORTANT: To create an image map this way the RenderType property of the Chart object MUST be RenderType.ImageTag. It is possible to create an image map when using binary streaming, but another technique must be used. Refer to the Client-Side Mapping and Binary Streaming  topic for further details.

This property allows you to set special keywords to display different types of Chart-related data. For more information, refer to the Using Keywords topic.

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

Refer to the Client-Side Image Maps topic for more information on how to implement client-side mage maps.

Requirements

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

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.