Type | Description | |||
String | A string expression that identifies the description of the node's tooltip. |
Use the ToolTip property to assign a tooltip to a node. Use the ToolTipTitle property to specify the title of the tooltip window. The tooltip shows up when the cursor hovers the node. The ToolTip property supports built-in HTML tags like the Caption property does. The ToolTipPopDelay property specifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control. Use the ToolTipWidth property to specify the width of the tooltip window. The ToolTipDelay property specifies the time in ms that passes before the ToolTip appears. Use the Root property to get the root node. Use the <img> HTML tag to insert icons inside the node's caption. Use the ToolTipFont property to assign a font for the control's tooltip. Use the Background(exToolTipAppearance) property indicates the visual appearance of the borders of the tooltips. Use the Background(exToolTipBackColor) property indicates the tooltip's background color. Use the Background(exToolTipForeColor) property indicates the tooltip's foreground color.
The ToolTip property supports built-in HTML format like listed:
The control supports expandable HTML captions feature which allows you to expand(show)/collapse(hide) different information using <a ;exp=> or <a ;e64=> anchor tags. The exp/e64 field of the anchor stores the HTML line/lines to show once the user clicks/collapses/expands the caption.
Any ex-HTML caption can be transformed to an expandable-caption, by inserting the anchor ex-HTML tag. For instance, <solidline><b>Header</b></solidline><br>Line1<r><a ;exp=show lines>+</a><br>Line2<br>Line3 shows the Header in underlined and bold on the first line and Line1, Line2, Line3 on the rest. The show lines is shown instead of Line1, Line2, Line3 once the user clicks the + sign.
or <font ;31><sha 404040;5;0><fgcolor=FFFFFF>outline anti-aliasing</fgcolor></sha></font> gets:
The following VB sample adds a node with a tooltip:
With ChartView1 .BackColor = vbWhite With .Nodes With .Add("Andrew Fuller Title: Vice President Sales
USA, Tacoma, WA, 98401, 908 W. Capital WayPhone: (206) 555-9482", "nancy", , 1, "c:\temp\sample\andrew.gif") .Position = 0 .BackColor = vbWhite .ToolTip = " Andrew Fuller
Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing from the University of Dallas in 1981. He is fluent in French and Italian and reads German. He joined the company as a sales representative, was promoted to sales manager." .ToolTipTitle = "Information" End With End With End With
The following C++ sample assigns a tooltip to the root node:
CNode node = m_chartview.GetRoot(); node.SetToolTip( "Andrew Fuller
Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing from the University of Dallas in 1981. He is fluent in French and Italian and reads German. He joined the company as a sales representative, was promoted to sales manager." ); node.SetToolTipTitle( "Information" );
The following VB.NET sample assigns a tooltip to the root node:
With AxChartView1.Root .ToolTip = "Andrew Fuller
Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing from the University of Dallas in 1981. He is fluent in French and Italian and reads German. He joined the company as a sales representative, was promoted to sales manager." .ToolTipTitle = "Information" End With
The following C# sample assigns a tooltip to the root node:
EXORGCHARTLib.Node node = axChartView1.Root; node.ToolTip = "Andrew Fuller
Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing from the University of Dallas in 1981. He is fluent in French and Italian and reads German. He joined the company as a sales representative, was promoted to sales manager."; node.ToolTipTitle = "Information";
The following VFP sample assigns a tooltip to the root node:
With thisform.ChartView1.Root local s s = "Andrew Fuller
Andrew received his BTS commercial in 1974 and a Ph.D. in international marketi" s = s + "ng from the University of Dallas in 1981. He is fluent in French and Italian and reads German. He joined the company as a sales representati" .ToolTip = s + "ve, was promoted to sales manager." .ToolTipTitle = "Information" EndWith