LegendCell.ToolTip Property

.NET Framework (current version)

Gets or sets the tooltip text for the legend cell.

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

public virtual string ToolTip { get; set; }

Property Value

Type: System.String

A string value that represents the tooltip for the legend cell. The default value is a zero-length string.

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.

If the ToolTip property is set for both a legend item and a legend cell, the legend cell property has precedence.

This ToolTip 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 Chartobject.

.NET Framework
Available since 4.0
Return to top