Xceed Chart for WinForms v4.4 Documentation
Interactivity Property (ChartLabel)
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > ChartLabel Class : Interactivity Property
Gives you access to the Interactivity object associated with the label.
Syntax
'Declaration
 
<CategoryAttribute("Attributes")>
<DescriptionAttribute("Gives you access to the Interactivity object associated with the label")>
Public Property Interactivity As Interactivity
'Usage
 
Dim instance As ChartLabel
Dim value As Interactivity
 
instance.Interactivity = value
 
value = instance.Interactivity
[Category("Attributes")]
[Description("Gives you access to the Interactivity object associated with the label")]
public Interactivity Interactivity {get; set;}
Remarks
With the Interactivity object you can control the tooptips, mouse cursor change and browser redirection (HTML image maps only) associated with the label. For more information on the Interactivity object and the interactivity features take a look at the "Interactivity" book in the Users Guide.
Example
The following code changes the tooltip of a label:
ChartControl.InteractivityOperations.Add(New TooltipInteractivityOperation())

Dim label As ChartLabel =  ChartControl.Labels.AddHeader("Cursor hand") 
label.Interactivity.Tooltip = "There is nothing special about tooltips"
ChartControl.InteractivityOperations.Add(new TooltipInteractivityOperation());

ChartLabel label = ChartControl.Labels.AddHeader("Cursor hand");
label.Interactivity.Tooltip = "There is nothing special about tooltips";
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

ChartLabel Class
ChartLabel Members