バージョン

Tooltips プロパティ

チャートのツールチップの全書式プロパティ (ハイライト表示やマウスイベントなど動作関連の設定) にアクセスするためのオブジェクトを返します。
シンタックス
'宣言
 
Public Property Tooltips As WinTooltipAppearance
public WinTooltipAppearance Tooltips {get; set;}
使用例
'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;
参照