Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / Interactivity Class / URL Property
Example


In This Topic
    URL Property
    In This Topic
    The URL to redirect the browser to when the user clicks on the object.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("The URL to redirect the browser to when the user clicks on the object.")>
    Public Property URL As String
    'Usage
     
    Dim instance As Interactivity
    Dim value As String
     
    instance.URL = value
     
    value = instance.URL
    [Category("General")]
    [Description("The URL to redirect the browser to when the user clicks on the object.")]
    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