Spread ASP.NET 18
Spread for ASP.NET 18 Product Documentation / Client-Side Scripting Reference / Scripting Members / Methods / GetActiveChart
In This Topic
    GetActiveChart
    In This Topic

    Gets the active chart element.

    Syntax

    [JavaScript]

    FpSpread1.GetActiveChart();

    Parameters

    None

    Return Type

    Element, chart image

    Remarks

    This method gets the active chart.

    Example

    This is a sample that contains the method. On the client side, the script that contains the method would look like this:

    JavaScript
    Copy Code
    <script type="text/javascript">
      function moveSelection() {
        var ret = FpSpread1.GetActiveChart();
      }
    </script>
    
    See Also