Spread ASP.NET 17
FarPoint.Web.Chart Assembly / FarPoint.Web.Chart Namespace / FpChart Class / HotSpotMode Property
Example


In This Topic
    HotSpotMode Property (FpChart)
    In This Topic
    Gets or sets the default behavior for the System.Web.UI.WebControls.HotSpot objects of an FpChart control when the System.Web.UI.WebControls.HotSpot objects are clicked.
    Syntax
    'Declaration
     
    
    Public Overridable Property HotSpotMode As HotSpotMode
    'Usage
     
    
    Dim instance As FpChart
    Dim value As HotSpotMode
     
    instance.HotSpotMode = value
     
    value = instance.HotSpotMode
    public virtual HotSpotMode HotSpotMode {get; set;}

    Property Value

    One of the System.Web.UI.WebControls.HotSpotMode enumeration values. The default is NotSet.
    Remarks

    The EnableClickEvent property specifies whether the Click event fires.

    The MapAreaClick event fires if the RenderMapArea property is true and the EnableClickEvent property is false. If the RenderMapArea property is false and the EnableClickEvent property is true, only the Click event fires. If the RenderMapArea property is true and the EnableClickEvent property is true, the MapAreaClick event fires if the user clicks on a chart element. The Click event fires if the user clicks on the chart background.

    The HotSpotMode property is used if RenderMapArea is true. HotSpotMode determines the behavior when the user clicks in a map area. The options are inactive, navigate, and post back. The inactive option is useful if you wish to display a tooltip in the map area. If the HotSpotMode is set to post back, the MapAreaClick and Client events are fired. If the RenderMapArea property is false, the HotSpotMode property has no effect.

    Example
    This example creates a chart control in Spread and maps several events.
    See Also