Spread for ASP.NET 11 Product Documentation
GetActiveChart
Spread for ASP.NET 11 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetActiveChart

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