Version

Tooltips Property

Returns an object that you can use to access all the formatting properties of the chart's tooltips, including such behavioral settings as highlighting and mouse events.
Syntax
'Declaration
 
Public Property Tooltips As WebTooltipAppearance
public WebTooltipAppearance Tooltips {get; set;}
Example
'Sets the transparency level of the tooltips
        UltraChart1.Tooltips.AlphaLevel = 111
        'sets the backcolor for the tooltips
        UltraChart1.Tooltips.BackColor = Color.Red
        'sets the color of the border around the tooltips
        UltraChart1.Tooltips.BorderColor = Color.Yellow
        'sets the thickness of the border around the tooltips
        UltraChart1.Tooltips.BorderThickness = 4
        'sets when to display the tooltips
        UltraChart1.Tooltips.Display = Infragistics.UltraChart.[Shared].Styles.TooltipDisplay.MouseMove
        'allows access to the Tooltip font object
        'UltraChart1.Tooltips.Font
        'sets the color of the font for the tooltips
        UltraChart1.Tooltips.FontColor = Color.Beige
        'sets the format of the data to show
        UltraChart1.Tooltips.Format = Infragistics.UltraChart.[Shared].Styles.TooltipStyle.Custom
        'allows you to set the format string when using a custom format
        UltraChart1.Tooltips.FormatString = "<ITEM_LABEL><DATA_VALUE>"
        'winchart only
        'sets whether to higlight the point when mosued over, the color to fill it in with and outline it
        UltraChart1.Tooltips.HighlightDataPoint = True
        UltraChart1.Tooltips.HighlightFillColor = Color.Red
        UltraChart1.Tooltips.HighlightOutlineColor = Color.Yellow
        'sets whether or not to use a special control for tooltips, winchart only.
        UltraChart1.Tooltips.UseControl = True
			'Whether the tooltips fade in and out, webchart only
			UltraChart1.EnableFadingEffect=True
// sets the transparency level of the tooltips
     UltraChart1.Tooltips.AlphaLevel = 111;
     // sets the backcolor for the tooltips
     UltraChart1.Tooltips.BackColor = Color.Red;
     // sets the color of the border around the tooltips
     UltraChart1.Tooltips.BorderColor = Color.Yellow;
     // sets the thickness of the border around the tooltips
     UltraChart1.Tooltips.BorderThickness = 4;
     // sets when to display the tooltips
     UltraChart1.Tooltips.Display = Infragistics.UltraChart.[Shared].Styles.TooltipDisplay.MouseMove;
     // allows access to the Tooltip font object
     // ultrachart1.tooltips.font
     // sets the color of the font for the tooltips
     UltraChart1.Tooltips.FontColor = Color.Beige;
     // sets the format of the data to show
     UltraChart1.Tooltips.Format = Infragistics.UltraChart.[Shared].Styles.TooltipStyle.Custom;
     // allows you to set the format string when using a custom format
     UltraChart1.Tooltips.FormatString = "";
     // winchart only
     // sets whether to higlight the point when mosued over, the color to fill it in with and outline it
     UltraChart1.Tooltips.HighlightDataPoint = true;
     UltraChart1.Tooltips.HighlightFillColor = Color.Red;
     UltraChart1.Tooltips.HighlightOutlineColor = Color.Yellow;
     // sets whether or not to use a special control for tooltips, winchart only.
     UltraChart1.Tooltips.UseControl = true;
//Whether the tooltips fade in and out, webchart only
UltraChart1.EnableFadingEffect=true;
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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

See Also