Chart for .NET / User's Guide / Interactivity / Interactivity Style Tools / Tooltip Tool

Tooltip Tool

The control can display tooltips for all objects that have an associated NInteractivityStyle (practically all visual objects). You enable the tooltip feature by adding an object of type NTooltipTool to the Tools collection. The following code instructs the control to display a tooltip when the mouse is over the background:

C#
Copy Code
chartControl.InteractivityStyle.Tooltip.Text = "Some tooltip";
chartControl.Controller.Tools.Add(new NTooltipTool());
Visual Basic
Copy Code
chartControl.InteractivityStyle.Tooltip.Text = "Some tooltip"
chartControl.Controller.Tools.Add(New NTooltipTool)
 Related Examples

Windows forms: Interactivity\Tooltip Tool and Cursors

Web forms: Getting started\HTML image map, Getting started\HTML image map postback

See Also

NTooltipTool | NInteractivityStyle


See Also