Xceed Chart for WinForms v4.4 Documentation
TooltipMode Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > SeriesInteractivity Class : TooltipMode Property
Controls the tooptip mode.
Syntax
'Declaration
 
<CategoryAttribute("Tooltips")>

<DefaultValueAttribute()>

<DescriptionAttribute("Controls the tooptips mode.")>

Public Property TooltipMode As SeriesTooltipMode
'Usage
 
Dim instance As SeriesInteractivity

Dim value As SeriesTooltipMode

 

instance.TooltipMode = value

 

value = instance.TooltipMode
[Category("Tooltips")]

[DefaultValue()]

[Description("Controls the tooptips mode.")]

public SeriesTooltipMode TooltipMode {get; set;}
Remarks
By default set to Formatted.
Example
The following code formats the tooltips of a bar series to display the bar label and index.
barSeries.TooltipMode = SeriesTooltipMode.Formatted

barSeries.TooltipFormat = "&lt;label&gt; &lt;index&gt;"
barSeries.TooltipMode = SeriesTooltipMode.Formatted;

barSeries.TooltipFormat = "&lt;label&gt; &lt;index&gt;";
Requirements

Target Platforms: 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

Reference

SeriesInteractivity Class
SeriesInteractivity Members