Xceed Chart for WinForms v4.4 Documentation
URL Property
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Interactivity Class : URL Property
The URL to redirect the browser to when the user clicks on the object.
Syntax
'Declaration
 
<DescriptionAttribute("The URL to redirect the browser to when the user clicks on the object.")>
<CategoryAttribute("General")>
Public Property URL As String
'Usage
 
Dim instance As Interactivity
Dim value As String
 
instance.URL = value
 
value = instance.URL
[Description("The URL to redirect the browser to when the user clicks on the object.")]
[Category("General")]
public string URL {get; set;}
Remarks
This property works only when you use the chart in Web forms with a response type of HTML image map.
Example
The following code changes the URL of a label:
ChartControl.InteractivityOperations.Add(New TooltipInteractivityOperation())

Dim label As ChartLabel =  ChartControl.Labels.AddHeader("Click here to see a cool chart") 
label.Interactivity.URL = "http://www.xceedsoft.com"
ChartControl.InteractivityOperations.Add(new TooltipInteractivityOperation());

ChartLabel label = ChartControl.Labels.AddHeader("Click here to see a cool chart");
label.Interactivity.URL = "http://www.xceedsoft.com";
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

Interactivity Class
Interactivity Members